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)    
Subscription  


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

Comments

 [2007-04-21 20:37 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!