Re: photo file size

From: Date: Wed, 01 Oct 2008 16:34:10 +0000
Subject: Re: photo file size
References: 1  Groups: php.general php.general 
Request: Send a blank email to php-general+get-281283@lists.php.net to get a copy of this message
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!
Without sacrificing size AND quality? So you don't want to lose enough data to get to a max 60KB amount, without actually losing data... wow, that won't be easy; or even better, it will probably not even be possible. Changing formats makes the size smaller, but always loses some detail/modifies the image slightly (eg. from bmp to png loses alot of data, but unfortunately also some (little) quality). So, decide which you want to sacrifice, and do it.
PHP should have a solution for reducing the size of files in Batch. it does, it's called writing a function and calling it for each of the files in the batch.
Please comment. thanks Your request is unreasonable and should be better phrased :)


« previous php.general (#281283) next »