RE: photo file size

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

 



> -----Original Message-----
> From: elk dolk [mailto:elkdolk@xxxxxxxxx]
> Sent: Wednesday, October 01, 2008 11:26 AM
> To: php-general@xxxxxxxxxxxxx
> Subject:  photo file size
> 
> 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!
> 
> PHP should have a solution for reducing the size of files in Batch.
> Please
> comment.

Well, your logic is flawed to begin with: reducing the file size will almost DEFINITELY reduce the image quality. It's not as if the image files have a bunch of useless data packed on to the end of them (though some have some strange compression algorithms that make for wacky data).

But... yes, there exist several PHP libraries that can probably do what you want to do. I suggest STFW for "ImageMagick" or "GD" with respect to PHP.

Good luck.


Todd Boyd
Web Programmer



-- 
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