Effects
class Effects implements EffectsInterface
Effects implementation using the Imagick PHP extension.
Methods
__construct(Imagick $imagick)
Initialize the instance.
$this
gamma(float $correction)
Apply gamma correction.
$this
negative()
Invert the colors of the image.
$this
grayscale()
Grayscale the image.
$this
$this
sharpen()
Sharpens the image.
$this
blur(float|int $sigma = 1)
Blur the image.
$this
brightness(int $brightness)
Changes the brightness of the image.
Details
at line 37
__construct(Imagick $imagick)
Initialize the instance.
at line 47
$this
gamma(float $correction)
Apply gamma correction.
at line 63
$this
negative()
Invert the colors of the image.
at line 79
$this
grayscale()
Grayscale the image.
at line 95
$this
colorize(ColorInterface $color)
Colorize the image.
at line 115
$this
sharpen()
Sharpens the image.
at line 131
$this
blur(float|int $sigma = 1)
Blur the image.
at line 147
$this
brightness(int $brightness)
Changes the brightness of the image.
at line 176
$this
convolve(Matrix $matrix)
Convolves the image.