Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools.ImageProcessing Namespace : ColorResolutionCommandPaletteFlags Enumeration |
[FlagsAttribute()] public enum ColorResolutionCommandPaletteFlags : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration
<FlagsAttribute()> Public Enum ColorResolutionCommandPaletteFlags Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage
Dim instance As ColorResolutionCommandPaletteFlags
[FlagsAttribute()] public enum ColorResolutionCommandPaletteFlags : System.IComparable, System.IConvertible, System.IFormattable
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 : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
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.
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.ColorResolutionCommandPaletteFlags