Dither image data to 16bpp or lower (Floyd-Steinberg dithering), given bits per channel for r, g, b, a
None.
img = raylib.LoadImage("photo.png") // Dither to 4-bit per channel (Floyd-Steinberg) raylib.ImageDither img, 4, 4, 4, 4 raylib.ExportImage img, "photo_dithered.png" raylib.UnloadImage img
There was an error while loading. Please reload this page.