note 116067 deleted from imagick.setcompressionquality by salathe
| From: | salathe@php.net | Date: | Fri, 07 Nov 2014 11:15:54 +0000 |
| Subject: | note 116067 deleted from imagick.setcompressionquality by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-200831@lists.php.net to get a copy of this message | ||
Note Submitter: jamista at yahoo dot com
----
The code working fine for me and works on PHP 5.2 or latter :
<?php
$img->setImageCompression(Imagick::COMPRESSION_JPEG);
$img->setImageCompressionQuality(80); // Set 60 to 80 for better Compression and nearest orginal
Image
?>