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 09:49 UTC Modified: 2006-03-07 16:09 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  


 [2006-02-13 09: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 16: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.