Struct to store information about a filter operation.
The struct contains the self::name of the filter to use and which self::options to use for it.
Possible filter names are determined by the methods defined in the following filter interfaces:
The options for each filter are represented by the parameters received by their corresponding method. You can determine if a certain ezcImageHandler implementation supports a filter by checking the interfaces this handler implements.
Source for this file: /ImageConversion/src/structs/filter.php
ezcBaseStruct | --ezcImageFilter
Version: | //autogentag// |
public string |
$name
Name of filter operation to use. |
public array(string=>mixed) |
$options
Associative array of options for the filter operation. The array key is the option name and the array entry is the value for the option. Consult each filter operation to see which names and values to use. |
public ezcImageFilter |
__construct(
$name
, [ $options
= array()] )
Initialize with the filter name and options. |
Initialize with the filter name and options.
Name | Type | Description |
---|---|---|
$name |
array | Name of filter operation. |
$options |
array | Associative array of options for filter operation. |