class Thumbnail implements FilterInterface
A thumbnail filter
Methods
__construct(BoxInterface $size, string $mode = ImageInterface::THUMBNAIL_INSET)
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 39
public
__construct(BoxInterface $size, string $mode = ImageInterface::THUMBNAIL_INSET)
Constructs the Thumbnail filter with given width, height and mode
at line 48
public ImageInterface
apply(ImageInterface $image)
Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance