PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Images » Image_Transform » Bug #7163

IM: scaling image 2 times not allowed even if intermediate save is used

Details

Submitted2006-03-20 15:31 UTC
Fromchabrol at vfnm dot de
StatusNo Feedback
PackageImage_Transform
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2006-03-20 15:31 UTC] chabrol at vfnm dot de

Description:
------------
If you try for example to (pseudo-code):

scaleMaxLength()
save()
scaleMaxLength()
save()

It complains "You cannot scale or resize an image more than once without calling save() or display()" at the second scaleMaxLength(). So I added "unset($myImageTransformObject->command['resize']);" in my code as workaround.

[2006-03-20 15:33 UTC] chabrol at vfnm dot de

P.S.: This error occurs with the IM-Driver (Image/Transform/Driver/IM.php)