Archive frjo May, 2008

ImageMagick with Drupal 5 for nicer image scaling

To put images on Drupal sites I mainly use ImageField or my hacked version of the inline module together with ImageCache and Thickbox

Imagecache can scale and crop images on the fly according to the presets you set up, a very nice module. All the small images on this blog is done this way. It will use the image toolkit from the Drupal settings on your site. This will most likely be GD2 toolkit since it comes with almost all installs of PHP and Drupal supports it out of the box.

GD2 works well but I was not satisfied with the quality of the scaled images. I know the Image module does it better with the help of the ImageMagick toolkit but I don’t want to use it for all my image needs.