ImageGear .NET v25.1 - Updated
MaxColors Field (ImGearPopularityReductionOptions)




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

Field Value

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

Reference

ImGearPopularityReductionOptions Class
ImGearPopularityReductionOptions Members