 readme imageapi a non writing image manipulation api for drupal this api is meant to be used in place of the api provided by imageinc you probably do not need to install this module unless another module are you using requires it it provides no new features to your drupal site it only provides an api other modules can leverage changes from imageinc api images are objects images are not written on each image operation and must be explicitly closed when processing is complete multiple image toolkits can be used simultaneously however only the image toolkit and image was opened with can be used to process it this is hidden in the imageapi layer api quick reference imageapiimagescaleandcrop image width height imageapiimagescale image width height upscale false imageapiimageresize image width height imageapiimagerotate image degrees bgcolor 0x000000 imageapiimagecrop image x y width height imageapiimagedesaturate image imageapiimageopen file toolkit false imageapiimageclose image destination image is an image object returned from imageapiimageopen expanding imageapi if you wish to expand on imageapi add a new wrapper function to imageapimodule do any common preprocessing for all underlying layers in the wrapper function then invoke the driver pay heed to the function naming in imageapi and imageapi gd if the toolkit changes the size of an image it must update the image info width and image info height variables all toolkit functions should return true on success and false on failure for more detailed documentation read imageapimodule dopry  