note 76833 added to function.imagick-cropimage
| From: | vincent dot hoen at gmail dot com | Date: | Wed, 01 Aug 2007 15:39:02 +0000 |
| Subject: | note 76833 added to function.imagick-cropimage | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129104@lists.php.net to get a copy of this message | ||
If you're working with animated gif you might want to process this way (Probably not the best,
but at least it works) :
$picture = new Imagick('animated_gif.gif');
//Crop first image
$picture->cropImage($width, $height, $x, $y);
//Crop every other image
while($picture->hasNextImage()){
$this->nextImage();
$this->cropImage($width, $height, $x, $y);
}
//display image
$picture->getImageBlob();
----
Server IP: 195.221.21.36
Probable Submitter: 82.234.175.168
----
Manual Page -- http://www.php.net/manual/en/function.imagick-cropimage.php
Edit -- https://master.php.net/note/edit/76833
Del: integrated -- https://master.php.net/note/delete/76833/integrated
Del: useless -- https://master.php.net/note/delete/76833/useless
Del: bad code -- https://master.php.net/note/delete/76833/bad+code
Del: spam -- https://master.php.net/note/delete/76833/spam
Del: non-english -- https://master.php.net/note/delete/76833/non-english
Del: in docs -- https://master.php.net/note/delete/76833/in+docs
Del: other reasons-- https://master.php.net/note/delete/76833
Reject -- https://master.php.net/note/reject/76833
Search -- https://master.php.net/manage/user-notes.php