|
Posted by Rik on 02/12/07 10:59
On Mon, 12 Feb 2007 11:53:26 +0100, den <spamnot@not.not> wrote:
> is there some functions or tips for minimize at max the quality and
> the kb of a image already transformed in a thumb?
>
> I have modified a photo with imagecopyresampled and imagecreatetruecolor
> in
> to a thumb;
> the result is a thumb with sides of 100px and file dimension 3-4kb;
> is possible to reduce more the kb?
http://www.php.net/imagejpeg
bool imagejpeg ( resource $image [, string $filename [, int $quality]] )
Quality
quality is optional, and ranges from 0 (worst quality, smaller file) to
100 (best quality, biggest file). The default is the default IJG quality
value (about 75).
--
Rik Wasmus
Navigation:
[Reply to this message]
|