Skip to content

Dithering Modes

RinlovesYou edited this page Mar 17, 2021 · 1 revision

Dithering Modes

The Encoder has many types of Dithering Modes, all provided by SixLabors' ImageSharp

To change the Dithering mode, change the DitheringMode number in config.json to any of these:

Index of Dithering Modes

  • 0 - No Dithering. (This is only available in the Black and White Color Mode)
  • 1-3 - Bayer dithering. These will be the most accurate to how the DSi handles image dithering. 1 = 8x8, 2 = 4x4, 3 = 2x2.
  • 4 - FloydSteinberg Algorithm
  • 5 - Atkinson Algorithm
  • 6 - Burks Algorithm
  • 7 - JarvisJudiceNinke Algorithm
  • 8 - StevensonArce Algorithm
  • 9-11 - Sierra Algorithms. In order: Sierra2, Sierra3, SierraLite
  • 12 - Stucki Algorithm
  • 13 - Ordered 3x3 Algorithm
  • Any other value defaults to Bayer8x8.
Clone this wiki locally