image.inc
Версия 1.24 (checked in on 2008/01/28 at 16:05:17 by goba)
API для управления изображениями.
Функции
Имя | Описание |
---|---|
image_crop | Crop an image to the rectangle specified by the given rectangle. |
image_get_available_toolkits | Возвращает список доступных наборов инструментов. |
image_get_info | Возвращает информацию о формате изображения. |
image_get_toolkit | Retrieve the name of the currently used toolkit. |
image_resize | Resize an image to the given dimensions (ignoring aspect ratio). |
image_rotate | Rotate an image by the given number of degrees. |
image_scale | Scales an image to the given width and height while maintaining aspect ratio. |
image_scale_and_crop | Scales 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_invoke | Invokes the given method using the currently selected toolkit. |