←Select platform

GetPalette Method

Summary
Gets the palette for uncompressed data that is 8 bits per pixel or less.
Syntax
C#
Objective-C
C++
Java
public RasterColor[] GetPalette() 
@property (nonatomic, strong, nullable) NSArray<LTRasterColor *> *palette; 
public RasterColor[] getPalette() 
public: 
array<RasterColor>^ GetPalette();  

Return Value

An array of RasterColor object that represents the palette for uncompressed data that is 8 bits per pixel or less.

Remarks

The first 1 << BitsPerPixel (2 ^ BitsPerPixel) entries in this palette is used.

Example

For an example, refer to RasterCodecs.LoadInformation.

Requirements

Target Platforms

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

Leadtools.Codecs Assembly

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