note 128660 added to imagick.setimagecompressionquality
| From: | Anonymous at main dot php dot net | Date: | Tue, 04 Jul 2023 11:35:56 +0000 |
| Subject: | note 128660 added to imagick.setimagecompressionquality | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220621@lists.php.net to get a copy of this message | ||
The setImageCompressionQuality method accepts an integer value as its argument, representing the
desired compression quality for the image, from 0 to 100, where 0 represents the lowest quality
(highest compression, most lossy), and 100 represents the highest quality (lowest compression,
lossless).
* Quality 0: Lowest quality, highest compression, most lossy. This will result in a very small file
size, but the image will likely have noticeable artifacts and reduced clarity.
* Quality 100: Highest quality, lowest compression, lossless. The image will retain all its original
details, but the file size will be larger.
In most cases, a quality value between 70 and 90 provides a good balance between file size and image
quality. However, the optimal value depends on your specific use case and the level of compression
you can tolerate while maintaining acceptable image clarity. It's best to experiment with
different quality values to find the one that best suits you
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.159.168 (proxied: 2a02:c7c:5a1b:1400:75c4:d3e3:927b:cb14)
----
Manual Page -- https://php.net/manual/en/imagick.setimagecompressionquality.php
Edit -- https://main.php.net/note/edit/128660
Del: integrated -- https://main.php.net/note/delete/128660/integrated
Del: useless -- https://main.php.net/note/delete/128660/useless
Del: bad code -- https://main.php.net/note/delete/128660/bad+code
Del: spam -- https://main.php.net/note/delete/128660/spam
Del: non-english -- https://main.php.net/note/delete/128660/non-english
Del: in docs -- https://main.php.net/note/delete/128660/in+docs
Del: other reasons-- https://main.php.net/note/delete/128660
Reject -- https://main.php.net/note/reject/128660
Search -- https://main.php.net/manage/user-notes.php