메소드 |
설명 |
|
__construct ( array $configuration = [] ) |
|
|
apply_filter ( ) |
You should only call this when you're ready to save, it often overwrites your image a few times (not always though) * |
|
brightness_contrast ( integer $brightness, integer $contrast ) : Filter |
Replicate brightness/contrast photoshop function |
|
colorize ( string $color, integer $composition = Imagick::COMPOSITE_MULTIPLY ) : Filter |
Replicate Colorize function |
|
curves ( array $points, integer $channel = null ) : Filter |
Replicate photoshop's curves function |
|
curves_graph ( string $fx ) : Filter |
Perform an imagemagick-style function on each pixel |
|
exec ( string $command, string $params ) : Filter |
Execute a manual CLI command -- normally used when there's no PHP alternatice |
|
gamma ( float $gamma, integer $channel = null ) : Filter |
Change the gamma of an image |
|
hsl ( integer $hue, integer $saturation, integer $lightness ) : Filter |
Replicate HSL function |
|
image ( &$image = null ) |
|
|
imagick ( &$imagick = null ) |
This is the imagemagick instance to perform the filters on |
|
levels ( float $gamma = 1, integer $input_min, integer $input_max = 255, integer $output_min, integer $output_max = 255, integer $channel = Imagick::CHANNEL_ALL ) : Filter |
Replicate Photoshop's levels function. |
|
vignette ( string $color, integer $composition = Imagick::COMPOSITE_DEFAULT, float $crop_factor = 1.5 ) : Filter |
Adds a vignette to the image |
|