note 78239 added to function.imagecopyresampled
| From: | tim dot daldini at gmail dot be | Date: | Thu, 04 Oct 2007 03:57:01 +0000 |
| Subject: | note 78239 added to function.imagecopyresampled | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131066@lists.php.net to get a copy of this message | ||
Tim's function is a whole lot faster, however, the quality setting doesnt seem right since
resizing very big images doesnt affect quality of the resulting thumbnails that much on quality 1
for example.
Anyone has figured out how to use a more correct quality setting by comparing image surfaces (for
example) basing on Tim's function?
images with a total of 10Megapixels that contain 5Megapixels when resized should use the same
quality setting like images that contain 1Megapixels but only 0.5 when resized.
Not hard to understand, but the memoryload would be a lot lower if the function could decide to use
a setting of quality 1 automatically when resizing big images to small thumbnails. This would be
handy especially when using the function for images of various sizes in the same application.
----
Server IP: 87.238.162.147
Probable Submitter: 81.241.65.70
----
Manual Page -- http://www.php.net/manual/en/function.imagecopyresampled.php
Edit -- https://master.php.net/note/edit/78239
Del: integrated -- https://master.php.net/note/delete/78239/integrated
Del: useless -- https://master.php.net/note/delete/78239/useless
Del: bad code -- https://master.php.net/note/delete/78239/bad+code
Del: spam -- https://master.php.net/note/delete/78239/spam
Del: non-english -- https://master.php.net/note/delete/78239/non-english
Del: in docs -- https://master.php.net/note/delete/78239/in+docs
Del: other reasons-- https://master.php.net/note/delete/78239
Reject -- https://master.php.net/note/reject/78239
Search -- https://master.php.net/manage/user-notes.php