![]() |
|
PNG images with transpency have black background - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: PNG images with transpency have black background (/thread-7874.html) |
PNG images with transpency have black background - redkobold - 2010-11-18 PNG thumbnails in my gallery have the transparent areas displayed as black. They also have the black background when they are inserted in certain ways or displayed in a slideshow. When actually viewed they have a white background (which is probably because it is the default background on my site). Is there any way within ZenPage to get them to default to a white background for everything? PNG images with transpency have black background - kagutsuchi - 2010-11-18 Which imaging library are you using? If you're using GD: it doesn't properly support PNG transparency, so transparent images such as the ones you've encountered will appear with a black background. I don't think that there's any way to change that color beyond modifying the image to always have a white background. If you're using Imagick: it's a bug and you should file a ticket with the original of the offending image attached. PNG images with transpency have black background - resmonde - 2013-11-19 A few yrs later and this is still very much apparent. I am running v1.4.5.7 upon Debian Squeeze 64-Bit. The problem occurs with both GD and Imagick. I can upload any *.png formatted file with a transparent background an dI get the black background. Tried over riding using CSS and even inline styles added to image.php and album.php but I still get black. My project is for displaying web graphics so png's with transparency constitute about 90% of the images. Any help out there? Thx PNG images with transpency have black background - acrylian - 2013-11-19 As my colleague above said the GD libary does not support transparencies at all. So nothing we can do if you use that. If you are using the Imagick libary file a ticket please. PNG images with transpency have black background - resmonde - 2013-11-19 Thanks for the response: |