class Effects implements EffectsInterface
Effects implementation using the GD library
Methods
__construct($resource)
|
||
EffectsInterface |
gamma(float $correction)
Apply gamma correction |
|
EffectsInterface |
negative()
Invert the colors of the image |
|
EffectsInterface |
grayscale()
Grayscale the image |
|
EffectsInterface |
colorize(ColorInterface $color)
Colorize the image |
|
EffectsInterface |
sharpen()
Sharpens the image |
|
EffectsInterface |
blur(float|int $sigma = 1)
Blur the image |
Details
at line 26
public
__construct($resource)
at line 34
public EffectsInterface
gamma(float $correction)
Apply gamma correction
at line 46
public EffectsInterface
negative()
Invert the colors of the image
at line 58
public EffectsInterface
grayscale()
Grayscale the image
at line 70
public EffectsInterface
colorize(ColorInterface $color)
Colorize the image
at line 86
public EffectsInterface
sharpen()
Sharpens the image
at line 101
public EffectsInterface
blur(float|int $sigma = 1)
Blur the image