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  


 [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!