ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearMedianCutReductionOptions Class / MaxColors Field




In This Topic
    MaxColors Field (ImGearMedianCutReductionOptions)
    In This Topic
    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