You are here: Re: to reduce kb of images « PHP Language « IT news, forums, messages
Re: to reduce kb of images

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация