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(Color $color)
Colorize the image |
|
EffectsInterface |
sharpen()
Sharpens the image |
Details
at line 25
public
__construct($resource)
at line 33
public EffectsInterface
gamma(float $correction)
Apply gamma correction
at line 45
public EffectsInterface
negative()
Invert the colors of the image
at line 57
public EffectsInterface
grayscale()
Grayscale the image
at line 69
public EffectsInterface
colorize(Color $color)
Colorize the image
at line 81
public EffectsInterface
sharpen()
Sharpens the image