ImageAPI

ImageAPI is used by Imagecache and appears to have no other uses. Install ImageAPI when you use Imagecache.

Installation

Download ImageAPI from drupal.org/project/Imageapi. This page is based on version 6.x-1.6, a 23.21 KB download from 2009-Apr-18.

Expand the download into /sites/all/modules/ then select Administer » Site building » Modules to switch on ImageAPI. There is only one permission, to administer ImageAPI, and your administer login gets that permission automatically.

Select Administer » Site configuration » ImageAPI to configure ImageAPI. You will see the message There are no image toolkit modules enabled. Toolkit modules can be enabled from the module configuration page. you have to switch on one of the included modules. The two choices are ImageAPI GD2 to use the PHP built-in GD2 image processing support and ImageAPI ImageMagick to use the command line ImageMagick support if installed. We will use GD2.

When the GD module is switched on, there is only one setting, a JPEG quality defaulting to 75% instead of 100%. JPEG quality is so bad that you need 100% just to maintain a fraction of the original quality. Change the setting to 100% then save the configuration.

There is nothing else to do for ImageAPI with GD2.