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

Bug #6767 scaleMaxLength
Submitted: 2006-02-13 14:49 UTC
From: cluetjen Assigned: jausions
Status: Closed Package: Image_Transform (version 0.9.0)
PHP Version: 5.1.2 OS: Debian Linux testing
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 : 28 + 7 = ?

 
 [2006-02-13 14:49 UTC] cluetjen
Description: ------------ Image_Transform::scaleMaxLength doesn't protect against resizing to zero. E.g. org. image size: 1000 x 5 ->scaleMaxLengh(50) will result in something like ->resize(50, 0) what results in a PHP warning (wrong image dimensions) Function should resize to 50 x 1

Comments

 [2006-03-07 21:09 UTC] jausions
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.