FreeImage.NET Class Library Reference
FREE_IMAGE_COLOR_DEPTH Enumeration |
Enumeration used for color conversions.
FREE_IMAGE_COLOR_DEPTH contains several colors to convert to.
The default value 'FICD_AUTO'.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
[FlagsAttribute] public enum FREE_IMAGE_COLOR_DEPTH
Members
Member name | Value | Description | |
---|---|---|---|
FICD_UNKNOWN | 0 | Unknown. | |
FICD_AUTO | 0 | Auto selected by the used algorithm. | |
FICD_01_BPP | 1 | 1-bit. | |
FICD_01_BPP_DITHER | 1 | 1-bit using dithering. | |
FICD_01_BPP_THRESHOLD | 3 | 1-bit using threshold. | |
FICD_04_BPP | 4 | 4-bit. | |
FICD_08_BPP | 8 | 8-bit. | |
FICD_16_BPP_555 | 18 | 16-bit 555 (1 bit remains unused). | |
FICD_16_BPP | 16 | 16-bit 565 (all bits are used). | |
FICD_24_BPP | 24 | 24-bit. | |
FICD_32_BPP | 32 | 32-bit. | |
FICD_REORDER_PALETTE | 1024 |
Reorder palette (make it linear). Only affects 1-, 4- and 8-bit images.
The palette is only reordered in case the image is greyscale (all palette entries have the same red, green and blue value). | |
FICD_FORCE_GREYSCALE | 2048 | Converts the image to greyscale. | |
FICD_COLOR_MASK | 61 | Flag to mask out all non color depth flags. |
See Also