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

Bug #11066 Background color overfills the GD Image
Submitted: 2007-05-17 08:22 UTC
From: stanislav Assigned: stoyan
Status: Closed Package: Image_Text (version 0.6.0beta)
PHP Version: 5.2.1 OS: ALL
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 21 - 11 = ?

 
 [2007-05-17 08:22 UTC] stanislav (Stanislav Alekseevich)
Description: ------------ After I have upgraded Image_Text package to version 0.6.0beta all my text images black backgrounded. When I set the background parameter to null I can't see any background image I'm writing text on. Test script: --------------- $options = array( 'background_color' => null, 'canvas'=> imagecreatefromjpeg('imageIamWritingOn.jpg') ) $it = Image_Text::construct('Test text', $options); $it->render(true); $it->save('foo.png'); Expected result: ---------------- "test Text" on 'imageIamWritingOn.jpg' image Actual result: -------------- "test Text" on white image

Comments

 [2007-05-19 02:56 UTC] stoyan (Stoyan Stefanov)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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. This is now fixed in CVS. Thanks for the report, Stanislav!