HumHub Documentation (unofficial)

Resize
in package
implements FilterInterface

A resize filter.

Table of Contents

Interfaces

FilterInterface
Interface for imagine filters.

Properties

$filter  : string
$size  : BoxInterface

Methods

__construct()  : mixed
Constructs Resize filter with given width and height.
apply()  : ImageInterface
Applies scheduled transformation to an ImageInterface instance.

Properties

Methods

__construct()

Constructs Resize filter with given width and height.

public __construct(BoxInterface $size[, string $filter = ImageInterface::FILTER_UNDEFINED ]) : mixed
Parameters
$size : BoxInterface
$filter : string = ImageInterface::FILTER_UNDEFINED

        
On this page

Search results