image.inc

Version

1.26 (checked in on 2008/07/08 at 01:08:15 by dries)

Description

API for manipulating images.

Functions

Namesort iconDescription
image_cropCrop an image to the rectangle specified by the given rectangle.
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_resizeResize an image to the given dimensions (ignoring aspect ratio).
image_rotateRotate an image by the given number of degrees.
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. Achieves the target aspect ratio by cropping the original image equally on both sides, or equally on the top and bottom. This function is, for example, useful to create uniform sized avatars from...
image_toolkit_invokeInvokes the given method using the currently selected toolkit.
 
 

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.