ImageGear22.Formats.Common Assembly > ImageGear.Formats.TIF Namespace : ImGearTIFFBitonalPaletteMode Enumeration |
'Declaration Public Enum ImGearTIFFBitonalPaletteMode Inherits System.Enum
'Usage Dim instance As ImGearTIFFBitonalPaletteMode
public enum ImGearTIFFBitonalPaletteMode : System.Enum
__value public enum ImGearTIFFBitonalPaletteMode : public System.Enum
public enum class ImGearTIFFBitonalPaletteMode : public System.Enum
Member | Value | Description |
---|---|---|
FIX | 2 | Fix strange looking palettes, as follows: if (R0+G0+B0)/3 <, (R1+G1+B1)/3 change palette to (black, white). Otherwise, change palette to (white, black). Specifically, constant palettes (all-black, all-white) are replaced with (white, black) palette. |
KEEP_AS_IS | 1 | Keep palette as is, even if it is all-black or red-green. If photometric interpretation is PALETTE_COLOR , but COLORMAP tag is absent, assume all-black palette. |
LEGACY | 0 | Keep ImageGear 16.0 behavior: read all 1-bit palettes as is. If palette is missing, assume increasing (blackzero) palette. |
System.Object
System.ValueType
System.Enum
ImageGear.Formats.TIF.ImGearTIFFBitonalPaletteMode