note 90458 added to function.imagick-trimimage
| From: | dhp at osu1 dot php dot net | Date: | Thu, 23 Apr 2009 11:31:27 +0000 |
| Subject: | note 90458 added to function.imagick-trimimage | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-153610@lists.php.net to get a copy of this message | ||
After operations that change the crop of the image, like trimImage does, IM preserves the old canvas
and positioning info. If you need to do additional operations on the image based on the new size,
you'll need to reset this info with setImagePage. This is the equivalent of the +repage command
line argument.
$im->trimImage(0);
$im->setImagePage(0, 0, 0, 0);
----
Server IP: 209.41.74.194
Probable Submitter: 216.52.13.2
----
Manual Page -- http://www.php.net/manual/en/function.imagick-trimimage.php
Edit -- https://master.php.net/note/edit/90458
Del: integrated -- https://master.php.net/note/delete/90458/integrated
Del: useless -- https://master.php.net/note/delete/90458/useless
Del: bad code -- https://master.php.net/note/delete/90458/bad+code
Del: spam -- https://master.php.net/note/delete/90458/spam
Del: non-english -- https://master.php.net/note/delete/90458/non-english
Del: in docs -- https://master.php.net/note/delete/90458/in+docs
Del: other reasons-- https://master.php.net/note/delete/90458
Reject -- https://master.php.net/note/reject/90458
Search -- https://master.php.net/manage/user-notes.php