C#
VB
Java
Objective-C
WinRT C#
C++
Palette options, for the ColorResolutionCommand.PaletteFlags property.
[FlagsAttribute()]
public enum ColorResolutionCommandPaletteFlags
<FlagsAttribute()>
Public Enum ColorResolutionCommandPaletteFlags
[FlagsAttribute()]
public enum ColorResolutionCommandPaletteFlags
typedef NS_OPTIONS(NSUInteger, LTColorResolutionCommandPaletteFlags)
public enum ColorResolutionCommandPaletteFlags
Leadtools.ImageProcessing.ColorResolutionCommandPaletteFlags = function() { };
Leadtools.ImageProcessing.ColorResolutionCommandPaletteFlags.prototype = {<br/>
None = 0x00000000,
Fixed = 0x00000001,
Optimized = 0x00000002,
Identity = 0x00000008,
UsePalette = 0x00000010,
FastMatch = 0x00000020,
Netscape = 0x00000040,
SlowMatch = 0x00000200,
FavorPureColors = 0x00000400,
};
[FlagsAttribute()]
public enum class ColorResolutionCommandPaletteFlags
Members
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET