Imagine API
Class

Imagine\Filter\Basic\Resize

class Resize implements FilterInterface

A resize filter

Methods

__construct(BoxInterface $size)

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 33
public __construct(BoxInterface $size)

Constructs Resize filter with given width and height

Parameters

BoxInterface $size

at line 41
public ImageInterface apply(ImageInterface $image)

Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance

Parameters

ImageInterface $image

Return Value

ImageInterface