interface ImageInterface Provides an interface for image objects. Hierarchy 
interface \Drupal\Core\Image\ImageInterface
 
File
 core/lib/Drupal/Core/Image/ImageInterface.php, line 8  Namespace Drupal\Core\Image Members     Name   Modifiers   Type   Description       ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069apply   public   function   Applies a toolkit operation to the image.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069convert   public   function   Instructs the toolkit to save the image in the format specified by the extension.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069createNew   public   function   Prepares a new image, without loading it from a file.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069crop   public   function   Crops an image to a rectangle specified by the given dimensions.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069desaturate   public   function   Converts an image to grayscale.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getFileSize   public   function   Returns the size of the image file.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getHeight   public   function   Returns the height of the image.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getMimeType   public   function   Returns the MIME type of the image file.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getSource   public   function   Retrieves the source path of the image file.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getToolkit   public   function   Returns the image toolkit used for this image file.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getToolkitId   public   function   Returns the ID of the image toolkit used for this image file.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getWidth   public   function   Returns the width of the image.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069isValid   public   function   Checks if the image is valid.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069resize   public   function   Resizes an image to the given dimensions (ignoring aspect ratio).     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069rotate   public   function   Rotates an image by the given number of degrees.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069save   public   function   Closes the image and saves the changes to a file.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069scale   public   function   Scales an image while maintaining aspect ratio.     ImageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069scaleAndCrop   public   function   Scales an image to the exact width and height given.    

    
{'path': 'public/docs/drupal~8/core-lib-drupal-core-image-imageinterface.php/interface/imageinterface/8.1.x.html', 'source': 'DevDocs.IO'}