class Thumbnail implements FilterInterface
A thumbnail filter
Methods
__construct(BoxInterface $size, string $mode = ImageInterface::THUMBNAIL_INSET, string $filter = ImageInterface::FILTER_UNDEFINED)
Constructs the Thumbnail filter with given width, height and mode |
||
ImageInterface |
apply(ImageInterface $image)
Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance |
Details
at line 45
public
__construct(BoxInterface $size, string $mode = ImageInterface::THUMBNAIL_INSET, string $filter = ImageInterface::FILTER_UNDEFINED)
Constructs the Thumbnail filter with given width, height and mode
at line 55
public ImageInterface
apply(ImageInterface $image)
Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance