DioDocs for PDF
GenerateOctreePalette メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Imaging 名前空間 > GcBitmap クラス : GenerateOctreePalette メソッド
The maximum number of opaque colors in the palette, from 8 and above.
Indicates if the pixels with value of alpha less than 128 shouldn't be taken into account.
Generates a palette for the image using the Octree quantizer algorithm.

The Alpha color channel is ignored.

シンタックス
'宣言
 
Public Function GenerateOctreePalette( _
   ByVal maxColors As System.Integer, _
   Optional ByVal skipTransparentPixels As System.Boolean _
) As System.UInteger()
public System.uint[] GenerateOctreePalette( 
   System.int maxColors,
   System.bool skipTransparentPixels
)

パラメータ

maxColors
The maximum number of opaque colors in the palette, from 8 and above.
skipTransparentPixels
Indicates if the pixels with value of alpha less than 128 shouldn't be taken into account.

戻り値の型

The resulting array with palette colors.
参照

GcBitmap クラス
GcBitmap メンバ