Gorgon
Show / Hide Table of Contents

Enum ImageDithering

Filter for dithering an image when it is downsampled to a lower bit depth.

Namespace: Gorgon.Graphics.Imaging
Assembly: Gorgon.Graphics.Imaging.dll
Syntax
public enum ImageDithering

Fields

Name Description
ErrorDiffusion

An error diffusion algorithm.

This should be used with images that make use of a color palette, such as 8 bit images.

None

No dithering.

Ordered16x16

A 16x16 ordered dither algorithm.

Ordered4x4

A 4x4 ordered dither algorithm.

This should be used with images that use 5 or 6 bits of color depth for their color channels.

Ordered8x8

An 8x8 ordered dither algorithm.

Extension Methods

GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author