class Resize implements FilterInterface
A resize filter
Methods
__construct(BoxInterface $size, string $filter = ImageInterface::FILTER_UNDEFINED)
Constructs Resize filter with given width and height |
||
ImageInterface |
apply(ImageInterface $image)
Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance |
Details
at line 35
public
__construct(BoxInterface $size, string $filter = ImageInterface::FILTER_UNDEFINED)
Constructs Resize filter with given width and height
at line 44
public ImageInterface
apply(ImageInterface $image)
Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance