note 92392 added to function.imagick-getimageregion
| From: | zolcos at hotmail dot com | Date: | Wed, 22 Jul 2009 21:45:05 +0000 |
| Subject: | note 92392 added to function.imagick-getimageregion | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158594@lists.php.net to get a copy of this message | ||
getImageRegion has the same side effect that was mentioned for operations that change the crop of
the image -- the new image preserves the old canvas and positioning info. For example, using
annotateImage on the new image will interpret the positioning arguments relative to the old image.
To correct it, reset this info with setImagePage.
<?php
$im->setImagePage(0, 0, 0, 0);
?>
----
Server IP: 209.41.74.194
Probable Submitter: 24.213.27.222
----
Manual Page -- http://www.php.net/manual/en/function.imagick-getimageregion.php
Edit -- https://master.php.net/note/edit/92392
Del: integrated -- https://master.php.net/note/delete/92392/integrated
Del: useless -- https://master.php.net/note/delete/92392/useless
Del: bad code -- https://master.php.net/note/delete/92392/bad+code
Del: spam -- https://master.php.net/note/delete/92392/spam
Del: non-english -- https://master.php.net/note/delete/92392/non-english
Del: in docs -- https://master.php.net/note/delete/92392/in+docs
Del: other reasons-- https://master.php.net/note/delete/92392
Reject -- https://master.php.net/note/reject/92392
Search -- https://master.php.net/manage/user-notes.php