interface ImageToolkitInterface

Defines an interface for image toolkits.

An image toolkit provides common image file manipulations like scaling, cropping, and rotating.

Hierarchy

Expanded class hierarchy of ImageToolkitInterface

All classes that implement ImageToolkitInterface

3 files declare their use of ImageToolkitInterface
1 string reference to 'ImageToolkitInterface'
1 service uses ImageToolkitInterface

File

drupal/core/modules/system/lib/Drupal/system/Plugin/ImageToolkitInterface.php, line 16
Contains \Drupal\system\Plugin\ImageToolkitInterface.

Namespace

Drupal\system\Plugin
View source

Members

Namesort descending Modifiers Type Description Overrides
ImageToolkitInterface::crop function Crops an image. 2
ImageToolkitInterface::desaturate function Converts an image resource to grayscale. 2
ImageToolkitInterface::getInfo function Gets details about an image. 2
ImageToolkitInterface::isAvailable static function Verifies Image Toolkit is set up correctly. 2
ImageToolkitInterface::load function Creates an image resource from a file. 2
ImageToolkitInterface::resize function Scales an image to the specified size. 2
ImageToolkitInterface::rotate function Rotates an image the given number of degrees. 2
ImageToolkitInterface::save function Writes an image resource to a destination file. 2
ImageToolkitInterface::settingsForm function Retrieves toolkit's settings form. 2
ImageToolkitInterface::settingsFormSubmit function Handles submissions for toolkit's settings form. 2