$_params
$_params : array
Valid parameters: - width: (integer) The target width.
- height: (integer) The target height.
- ratio: (boolean) Keep aspect ratio.
Image effect for applying content aware image resizing.
$_image : \Horde_Image
The bound Horde_Image object
setImageObject(\Horde_Image $image)
Bind this effect to a Horde_Image object.
\Horde_Image | $image | The Horde_Image object |
factory(string $type, string $driver, array $params) : \Horde_Image_Effect
Effect factory.
string | $type | An effect name. |
string | $driver | An image driver name. |
array | $params | Any effect parameters. |
An effect instance.