Class

Imagine\Filter\Basic\WebOptimization

class WebOptimization implements FilterInterface

A filter to render web-optimized images

Methods

__construct($path = null, array $options = array())

ImageInterface apply(ImageInterface $image)

Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance

Details

at line 27
public __construct($path = null, array $options = array())

Parameters

$path
array $options

at line 41
public ImageInterface apply(ImageInterface $image)

Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance

Parameters

ImageInterface $image

Return Value

ImageInterface