Options.dither

This attribute can be used when writing GIF images.

Apply Floyd/Steinberg error diffusion to the image. The basic strategy of dithering is to trade intensity resolution for spatial resolution by averaging the intensities of several neighboring pixels. Images which suffer from severe contouring when reducing colors can be improved with this option.

  1. void dither(bool d)
    class Options
    void
    dither
    (
    bool d
    )
  2. size_t dither()

Meta