imageDither function

void imageDither(
  1. Image image,
  2. int rBpp,
  3. int gBpp,
  4. int bBpp,
  5. int aBpp,
)

Dither image data to 16bpp or lower (Floyd-Steinberg dithering).

Implementation

void imageDither(Image image, int rBpp, int gBpp, int bBpp, int aBpp) {
  return library.ImageDither(image.pointer, rBpp, gBpp, bBpp, aBpp);
}