Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0RC1

Bug #13305 Thumbnail doesn't preserve transparency
Submitted: 2008-03-04 16:27 UTC
From: cbrunet Assigned: firman
Status: Closed Package: Image_Tools (version 0.4.2)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    

 [2008-03-04 16:27 UTC] cbrunet (Charles Brunet)
Description: ------------ If you create a thumbnail of an image with a transparent background (a PNG image, for example), you lost the transparency. The solution is to add imagealphablending($target, false); at line 221 of file Image/Tools/Thumbnail.php (just before the call to imagecopy).


 [2008-03-05 22:30 UTC] cbrunet (Charles Brunet)
And, at line 286: imagealphablending($target, true);
 [2008-05-21 05:04 UTC] firman (Firman Wandayandi)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.