ImageGear PDF v25.2 - Updated
MaxColors Field (ImGearMedianCutReductionOptions)




ImageGear.Core Assembly > ImageGear.Processing Namespace > ImGearMedianCutReductionOptions Class : MaxColors Field
Maximum number of colors used by the output image.
Syntax
'Declaration
 
Public MaxColors As Integer
'Usage
 
Dim instance As ImGearMedianCutReductionOptions
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 [16...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

ImGearMedianCutReductionOptions Class
ImGearMedianCutReductionOptions Members

Is this page helpful?
Yes No
Thanks for your feedback.