note 106710 added to function.imagick-cropthumbnailimage

From: Date: Wed, 30 Nov 2011 06:01:32 +0000
Subject: note 106710 added to function.imagick-cropthumbnailimage
Groups: php.notes 
Request: Send a blank email to php-notes+get-184815@lists.php.net to get a copy of this message
It's worth noting that using cropThumbnailImage can appear to give undesired results if you're using .gif image formats. If you are using .gif's, you'll need to compliment this function with a removal of the canvas. <?php //instantiate the image magick class $image = new Imagick($image_path); //crop and resize the image $image->cropThumbnailImage(100,100); //remove the canvas $image->setImagePage(0, 0, 0, 0); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 92.234.20.151 ---- Manual Page -- http://www.php.net/manual/en/function.imagick-cropthumbnailimage.php Edit -- https://master.php.net/note/edit/106710 Del: integrated -- https://master.php.net/note/delete/106710/integrated Del: useless -- https://master.php.net/note/delete/106710/useless Del: bad code -- https://master.php.net/note/delete/106710/bad+code Del: spam -- https://master.php.net/note/delete/106710/spam Del: non-english -- https://master.php.net/note/delete/106710/non-english Del: in docs -- https://master.php.net/note/delete/106710/in+docs Del: other reasons-- https://master.php.net/note/delete/106710 Reject -- https://master.php.net/note/reject/106710 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184815) next »