PHP zoom GIF and PNG map transparent background Turn black resolution, zoom PNG
Work needs to scale some GIF and then go to Imagecopymerge, but found that using the Imagecreatetruecolor and imagecopyresampled found the background map is not correct, the original transparent background image becomes black, Later found to make some changes can be:
And then the imagecopyresampled and the Imagecopymerge, there's no problem.
In the dance, the transparent ring is in GIF format. Why do I use beauty 美图秀秀 to turn PNG into a GIF background it's black. It's transparent.
The logo is the icon after the success. So you're not showing the transparency. Press OK will not become transparent. You need to deal with it again. Well, I mean, it's not like you've changed the format of the picture, there's no basemap. Instead, remove the basemap and replace it with a transparent image format, which is a transparent image. If you don't, you can put the picture up and I can help you get rid of it.
Why do PNG format images become opaque after they are converted to GIF colors?
It depends on how you convert, is directly renamed can not, you have to use PS or U5 and other software to save.
http://www.bkjia.com/PHPjc/894135.html www.bkjia.com true http://www.bkjia.com/PHPjc/894135.html techarticle PHP zoom GIF and PNG map transparent background into black solution, zoom PNG work need to zoom some GIF and then go to Imagecopymerge, but found using Imagecreatetruecolor and I ...