Create a thumbnail or resize an image with Imagemagick in PHP


This is the most elegant way I could find to create an thumbnail for an image I want to resize with PHP and Imagemagick. The function will return a filename.

To install imagemagick using Ubuntu, just run

sudo aptitude install php5-imagick

No comments yet.

Write a comment: