note 94051 added to function.imagepng

From: Date: Wed, 14 Oct 2009 00:03:15 +0000
Subject: note 94051 added to function.imagepng
Groups: php.notes 
Request: Send a blank email to php-notes+get-161707@lists.php.net to get a copy of this message
Could someone shed some light about what is the best options to use for the $filters value to minimize file size. Here is what we are trying to achieve: - end-user uploads a large screenshot image (1024 x 768) of a software application. Most of these screenshots will probably have more than 256 colors. - We want to create different versions of that uploaded image at different sizes: the initial size, 640x480, 320x240, 120x90, without losing quality, but with the smallest possible file size. My understanding is that we should use: - $quality = 9 - what about for $filters? ---- Server IP: 64.71.164.2 Probable Submitter: 69.28.161.213 ---- Manual Page -- http://www.php.net/manual/en/function.imagepng.php Edit -- https://master.php.net/note/edit/94051 Del: integrated -- https://master.php.net/note/delete/94051/integrated Del: useless -- https://master.php.net/note/delete/94051/useless Del: bad code -- https://master.php.net/note/delete/94051/bad+code Del: spam -- https://master.php.net/note/delete/94051/spam Del: non-english -- https://master.php.net/note/delete/94051/non-english Del: in docs -- https://master.php.net/note/delete/94051/in+docs Del: other reasons-- https://master.php.net/note/delete/94051 Reject -- https://master.php.net/note/reject/94051 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161707) next »