image.inc
image.inc
API for manipulating images.
File
includes/image.incFunctions
Name | Description |
---|---|
image_crop | Crops an image to a rectangle specified by the given dimensions. |
image_desaturate | Converts an image to grayscale. |
image_dimensions_scale | Scales image dimensions while maintaining aspect ratio. |
image_get_available_toolkits | Gets a list of available toolkits. |
image_get_info | Gets details about an image. |
image_get_toolkit | Gets the name of the currently used toolkit. |
image_load | Loads an image file and returns an image object. |
image_resize | Resizes an image to the given dimensions (ignoring aspect ratio). |
image_rotate | Rotates an image by the given number of degrees. |
image_save | Closes the image and saves the changes to a file. |
image_scale | Scales an image while maintaining aspect ratio. |
image_scale_and_crop | Scales an image to the exact width and height given. |
image_toolkit_invoke | Invokes the given method using the currently selected toolkit. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!image.inc/7.x