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

Bug #8573 Wrong image dimensions after _resize
Submitted: 2006-08-28 16:06 UTC
From: patrick dot strasser at tugraz dot at Assigned: davidc
Status: Closed Package: Image_Transform (version 0.9.0)
PHP Version: Irrelevant OS: Any
Roadmaps: (Not assigned)    

 [2006-08-28 16:06 UTC] patrick dot strasser at tugraz dot at (Patrick Strasser)
Description: ------------ After using an kind of scale, which calls _resize, the new dimensions can not be accessed by getImageWidth and getImageHeight. The handle points to the new image, though, so there seems to be no good reason to return the old dimensions. If the old image is still accessible, one could us this for multiple resizes (quite fine), but then there schould be some means to access the new dimensions like getNewImageWidth/Height. Workaround: access $this->new_x and $this->new_y direct, but that's not good OO practice.


 [2007-04-21 20:37 UTC] davidc (David Coallier)
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.