Mar
17
2010
7

Creating web thumbnails with PHP Imagick

It may seem like a subject that has been done to death, but creating thumbnails from images can be a complex and frustrating task, especially when you’re faced with a wide variety of formats in your source images.

The script below uses PHP’s Imagick extension to create a thumbnail from pretty much any source image. It can handle RGB & CMYK images, TIFFs, PNGs, JPEGs, GIFs, BMPs and just about any other format in just about any size, and it can also handle images with embedded colour profiles (this is very helpful when converting images created in Adobe software).

(more…)