note 108003 deleted from imagick.resizeimage by danbrown

From: Date: Thu, 10 May 2012 17:58:57 +0000
Subject: note 108003 deleted from imagick.resizeimage by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-187697@lists.php.net to get a copy of this message
Note Submitter: web at johnbaldock dot com ---- 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');

« previous php.notes (#187697) next »