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)

Syntax

C#
[FlagsAttribute]
public enum FREE_IMAGE_COLOR_DEPTH
Visual Basic (Declaration)
<FlagsAttribute> _
Public Enumeration FREE_IMAGE_COLOR_DEPTH
Visual C++
[FlagsAttribute]
public enum class FREE_IMAGE_COLOR_DEPTH

Members

Member nameDescription
FICD_UNKNOWN
Unknown.
FICD_AUTO
Auto selected by the used algorithm.
FICD_01_BPP
1-bit.
FICD_01_BPP_DITHER
1-bit using dithering.
FICD_01_BPP_THRESHOLD
1-bit using threshold.
FICD_04_BPP
4-bit.
FICD_08_BPP
8-bit.
FICD_16_BPP_555
16-bit 555 (1 bit remains unused).
FICD_16_BPP
16-bit 565 (all bits are used).
FICD_24_BPP
24-bit.
FICD_32_BPP
32-bit.
FICD_REORDER_PALETTE
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
Converts the image to greyscale.
FICD_COLOR_MASK
Flag to mask out all non color depth flags.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also