note 100917 rejected from function.imagick-transformimage by thiago
| From: | thiago@php.net | Date: | Wed, 17 Nov 2010 13:10:28 +0000 |
| Subject: | note 100917 rejected from function.imagick-transformimage by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174120@lists.php.net to get a copy of this message | ||
Note Submitter: joel dot day at looseroots dot com
----
While working with this function I noticed that it actually returns the image resource (instead of
TRUE), so rather than just doing this;
$resource->transformImage('0x0','500x500');
Which would NOT resize $resource. I had to do this;
$resource = $resource->transformImage('0x0','500x500');
Hope this helps!