The GD library has a number of functions that alter the size of an image, and converting from one file type to another can sometimes be used to reduce file size without reducing image size, but to do so it must give up detail (i.e. image quality). This is what is meant by the expression, "There is no such thing as a free lunch". You might think about this, if the images are being included in a web page, it is unlikely that the user will be able to detect the difference between a 200KB and a 60KB image file size, unless there are lot's of them, or it's over a dialup connection. With a high speed connection, the difference in time required to download larger files can be under a second, and most users will not notice a difference. Everything is a compromise. Warren Vail > -----Original Message----- > From: elk dolk [mailto:elkdolk@xxxxxxxxx] > Sent: Wednesday, October 01, 2008 9: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. > thanks > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php