Re: Re: photo file size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-10-01 at 18:00 +0100, Nathan Rixham wrote:
> elk dolk wrote:
> > 
> > Hi All,
> > 
> > I  have some photos with  different file sizes like 100KB 125KB 200KB ,…
> > I  want to shrink them and reduce the
> > file size to Max 60KB  without sacrificing image
> > quality and size!
> > 
> 
> amazon s3
> 
> -- 
> nathan ( nathan@xxxxxxxxxxx )
> {
>    Senior Web Developer
>    php + java + flex + xmpp + xml + ecmascript
>    web development edinburgh | http://kraya.co.uk/
> }
> 
It depends on what type of image they are. If it's a photo, go with JPEG
and play around with the compression. JPEG is always lossy (unless you
go JPEG 2000 which is not web-safe) but the loss is often not noticed by
the human eye. If it is a simple graphic then go with GIF or PNG
depending on the colours; <= 256 is GIF, otherwise go PNG. All of them
have various compression levels which you can use when you save them, so
play about and see what suits you best.


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux