note 108003 added to imagick.resizeimage

From: Date: Wed, 21 Mar 2012 19:19:31 +0000
Subject: note 108003 added to imagick.resizeimage
Groups: php.notes 
Request: Send a blank email to php-notes+get-186759@lists.php.net to get a copy of this message
When shrinking a jpg you can get more then double the performance if you use $image->setOption('jpeg:size', '800x532'), exchanging 800x532 to the resolution you want the final image to be. For instance instead of this: $image = new Imagick('foo.jpg'); You would use this: $image = new Imagick(); $image->setOption('jpeg:size', '800x532'); $image->readImage('foo.jpg'); ---- Server IP: 92.48.74.199 Probable Submitter: 86.31.113.65 ---- Manual Page -- http://www.php.net/manual/en/imagick.resizeimage.php Edit -- https://master.php.net/note/edit/108003 Del: integrated -- https://master.php.net/note/delete/108003/integrated Del: useless -- https://master.php.net/note/delete/108003/useless Del: bad code -- https://master.php.net/note/delete/108003/bad+code Del: spam -- https://master.php.net/note/delete/108003/spam Del: non-english -- https://master.php.net/note/delete/108003/non-english Del: in docs -- https://master.php.net/note/delete/108003/in+docs Del: other reasons-- https://master.php.net/note/delete/108003 Reject -- https://master.php.net/note/reject/108003 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#186759) next »