image.inc

Version 1.38 (checked in on 2009/09/01 at 17:49:10 by webchick)

API for manipulating images.

Functions

NameDescription
image_cropCrop an image to the rectangle specified by the given rectangle.
image_desaturateConvert an image to grayscale.
image_get_available_toolkitsReturn a list of available toolkits.
image_get_infoGet details about an image.
image_get_toolkitRetrieve the name of the currently used toolkit.
image_loadLoad an image file and return an image object.
image_resizeResize an image to the given dimensions (ignoring aspect ratio).
image_rotateRotate an image by the given number of degrees.
image_saveClose the image and save the changes to a file.
image_scaleScales an image to the given width and height while maintaining aspect ratio.
image_scale_and_cropScales an image to the exact width and height given.
image_toolkit_invokeInvokes the given method using the currently selected toolkit.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.