Floyd-Steinberg dithering.

1-bit and RGB dithering with a palette implemented.