Grayscale
class Grayscale extends OnPixelBased implements FilterInterface
The Grayscale filter calculates the gray-value based on RGB.
Properties
protected callable | $callback | from OnPixelBased |
Methods
__construct()
Initialize the instance.
from OnPixelBased
Details
at line 23
__construct()
Initialize the instance.
in OnPixelBased at line 51
ImageInterface
apply(ImageInterface $image)
Applies scheduled transformation to an ImageInterface instance.