note 108004 added to imagick.thumbnailimage

From: Date: Wed, 21 Mar 2012 19:25:59 +0000
Subject: note 108004 added to imagick.thumbnailimage
Groups: php.notes 
Request: Send a blank email to php-notes+get-186760@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 <?php $image->setOption('jpeg:size', '800x532') ?>, exchanging 800x532 to the resolution you want the final image to be. For instance instead of this: <?php $image = new Imagick('foo.jpg'); ?> You would use this: <?php $image = new Imagick(); $image->setOption('jpeg:size', '800x532'); $image->readImage('foo.jpg'); ?> ---- Server IP: 87.124.126.48 Probable Submitter: 86.31.113.65 ---- Manual Page -- http://www.php.net/manual/en/imagick.thumbnailimage.php Edit -- https://master.php.net/note/edit/108004 Del: integrated -- https://master.php.net/note/delete/108004/integrated Del: useless -- https://master.php.net/note/delete/108004/useless Del: bad code -- https://master.php.net/note/delete/108004/bad+code Del: spam -- https://master.php.net/note/delete/108004/spam Del: non-english -- https://master.php.net/note/delete/108004/non-english Del: in docs -- https://master.php.net/note/delete/108004/in+docs Del: other reasons-- https://master.php.net/note/delete/108004 Reject -- https://master.php.net/note/reject/108004 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#186760) next »