[FlagsAttribute()]
public enum ColorResolutionCommandPaletteFlags
typedef NS_OPTIONS(NSUInteger, LTColorResolutionCommandPaletteFlags)
public enum ColorResolutionCommandPaletteFlags
[FlagsAttribute()]
public enum class ColorResolutionCommandPaletteFlags
class ColorResolutionCommandPaletteFlags(Enum):
None = 0
Fixed = 1
Optimized = 2
Identity = 8
UsePalette = 16
FastMatch = 32
Netscape = 64
SlowMatch = 512
FavorPureColors = 1024
Value | Member | Description |
---|---|---|
0x00000000 | None | Default. |
0x00000001 | Fixed | Use the LEAD Fixed palette. |
0x00000002 | Optimized | Create an optimized palette, or if you supply a palette in ColorResolutionCommand.SetPalette, supply optimized colors for specified entries in the palette. |
0x00000008 | Identity | Insert the Windows system palette. |
0x00000010 | UsePalette | Use the palette specified in ColorResolutionCommand.SetPalette, without supplying optimized colors. |
0x00000020 | FastMatch | Use a predefined table to speed conversion using your own palette. Refer to RasterUserMatchTable. |
0x00000040 | Netscape | Use the fixed palette that is employed by Netscape Navigator and by Microsoft Internet Explorer. |
0x00000200 | SlowMatch | Use with Optimized to use a slower but more accurate matching process. |
0x00000400 | FavorPureColors | Give colors that occur frequently in the image palette entries of their own in the optimized palette. |
The palette options are useful only when the resulting image requires a palette (when it is 8 bits per pixel or less).
For more information, refer to Introduction: Palette Handling.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document