AbstractImage
abstract class AbstractImage implements ImageInterface, ClassFactoryAwareInterface
Properties
protected MetadataBag | $metadata |
Methods
Generates a thumbnail from a current image Returns it as a new image without modifying the current image unless the THUMBNAIL_FLAG_NOCLONE flag is specified.
Get all the available thumbnail modes.
Updates a given array of save options for backward compatibility with legacy names.
Returns the Image's meta data.
Clones all the resources associated to this instance.
Get the class factory instance to be used.
Details
at line 36
ManipulatorInterface
thumbnail(BoxInterface $size, int|string $settings = ImageInterface::THUMBNAIL_INSET, string $filter = ImageInterface::FILTER_UNDEFINED)
Generates a thumbnail from a current image Returns it as a new image without modifying the current image unless the THUMBNAIL_FLAG_NOCLONE flag is specified.
at line 146
protected int[]
getAllThumbnailModes()
Get all the available thumbnail modes.
at line 161
protected array
updateSaveOptions(array $options)
Updates a given array of save options for backward compatibility with legacy names.
at line 176
MetadataBag
metadata()
Returns the Image's meta data.
at line 184
__clone()
Clones all the resources associated to this instance.
at line 196
ClassFactoryInterface
getClassFactory()
Get the class factory instance to be used.
at line 210
$this
setClassFactory(ClassFactoryInterface $classFactory)
Set the class factory instance to be used.