PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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)