ImageGear .NET - Updated
PaletteSize Field




ImageGear24.Core Assembly > ImageGear.Processing Namespace > ImGearOctreeReductionOptions Class : PaletteSize Field
Number of colors present in specified Palette.
Syntax
'Declaration
 
Public PaletteSize As Integer
'Usage
 
Dim instance As ImGearOctreeReductionOptions
Dim value As Integer
 
value = instance.PaletteSize
 
instance.PaletteSize = value
public int PaletteSize
public: int PaletteSize
public:
int PaletteSize

Field Value

Integer in range [8...256]. If Palette field is non-null, this must less than or equal to the number of colors in Palette field, and greater than or equal to MaxColors field.
Remarks
If no palette is specified (Palette field is null), this option is ignored and an optimized palette is automatically generated.
See Also

Reference

ImGearOctreeReductionOptions Class
ImGearOctreeReductionOptions Members