A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 4: Plug-in 18 - Image Convert

This plug-in is similar to the previous one, Image Display, but it saves the new image to disk. Wrapped in suitable code it's very handy for automatically changing image type (and quality) either singly or in batches.

The Figure shows a 42Kb JPEG image which has been converted to another JPEG of only 8Kb by using a quality setting of 25.