ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearPopularityReductionOptions Class / MaxColors Field




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