class Dither implements FilterInterface

Dither image using Floyd-Steinberg algorithm. Dithering will reduce the color to black and white and add noise.

Methods

__construct()

Dither an image.

apply(ImageInterface $image)

No description

Details

at line line 15
__construct()

Dither an image.

at line line 25
ImageInterface apply(ImageInterface $image)

Parameters

ImageInterface $image

Return Value

ImageInterface