|
Posted by den on 02/12/07 11:02
Il Mon, 12 Feb 2007 11:59:35 +0100, Rik ha scritto:
> 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).
this function is only for Jpeg ?
imagegif and imageong haven't this option quality;
I must tested but for your experience if I have a small image (thumb) of
only 3-4kb is possible to reduce further on the kb?
Navigation:
[Reply to this message]
|