LEADTOOLS Image File Support (Leadtools.Codecs assembly)

PaletteFlags Property

Show in webframe







Gets or sets the palette flags to use.
Syntax
public ColorResolutionCommandPaletteFlags PaletteFlags {get; set;}
'Declaration
 
Public Property PaletteFlags As ColorResolutionCommandPaletteFlags
'Usage
 
Dim instance As CodecsThumbnailOptions
Dim value As ColorResolutionCommandPaletteFlags
 
instance.PaletteFlags = value
 
value = instance.PaletteFlags
public ColorResolutionCommandPaletteFlags PaletteFlags {get; set;}
@property (nonatomic, assign) LTColorResolutionCommandPaletteFlags paletteFlags;
public ColorResolutionCommandPaletteFlags getPaletteFlags()
public void setPaletteFlags(ColorResolutionCommandPaletteFlags value)
            
 
get_PaletteFlags();
set_PaletteFlags(value);
Object.defineProperty('PaletteFlags');
public:
property ColorResolutionCommandPaletteFlags PaletteFlags {
   ColorResolutionCommandPaletteFlags get();
   void set (    ColorResolutionCommandPaletteFlags value);
}

Property Value

The palette flags to use.
Remarks
The PaletteFlags will be passed to Leadtools.ImageProcessing.ColorResolutionCommand internally when MaintainAspectRatio is true, ForceSize is true, and the source image is not 24-bit. In this case, the thumbnail image is converted to 24-bit, then, combined with a "background" image. The resulting image is then returned to the thumbnail image's original bit-depth using PaletteFlags.
Example
For an example, refer to RasterCodecs.ReadThumbnail.
Requirements

Target Platforms

See Also

Reference

CodecsThumbnailOptions Structure
CodecsThumbnailOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.