←Select platform

ColorResolutionCommandPaletteFlags Enumeration

Summary
Palette options, for the ColorResolutionCommand.PaletteFlags property.
Syntax
C#
Objective-C
C++/CLI
Java
Python
[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 
Members
ValueMemberDescription
0x00000000None Default.
0x00000001Fixed Use the LEAD Fixed palette.
0x00000002Optimized Create an optimized palette, or if you supply a palette in ColorResolutionCommand.SetPalette, supply optimized colors for specified entries in the palette.
0x00000008Identity Insert the Windows system palette.
0x00000010UsePalette Use the palette specified in ColorResolutionCommand.SetPalette, without supplying optimized colors.
0x00000020FastMatch Use a predefined table to speed conversion using your own palette. Refer to RasterUserMatchTable.
0x00000040Netscape Use the fixed palette that is employed by Netscape Navigator and by Microsoft Internet Explorer.
0x00000200SlowMatch Use with Optimized to use a slower but more accurate matching process.
0x00000400FavorPureColors Give colors that occur frequently in the image palette entries of their own in the optimized palette.
Remarks

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.

Requirements

Target Platforms

Help Version 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.