ImageGear .NET - Updated
MaxColors Field (ImGearOctreeReductionOptions)




ImageGear23.Core Assembly > ImageGear.Processing Namespace > ImGearOctreeReductionOptions Class : MaxColors Field
Maximum number of colors used by the output image.
Syntax
'Declaration
 
Public MaxColors As Integer
'Usage
 
Dim instance As ImGearOctreeReductionOptions
Dim value As Integer
 
value = instance.MaxColors
 
instance.MaxColors = value
public int MaxColors
public: int MaxColors
public:
int MaxColors

Field Value

Integer value in range [8...256].
Remarks
Note: If 16 or less colors are specified, output image will be 4 bpp indexed; otherwise it will be 8 bpp indexed.
See Also

Reference

ImGearOctreeReductionOptions Class
ImGearOctreeReductionOptions Members