ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearOctreeReductionOptions Class / PaletteSize Field




In This Topic
    PaletteSize Field
    In This Topic
    Number of colors present in specified Palette.
    Syntax
    'Declaration
     
    Public PaletteSize As Integer
    'Usage
     
    Dim instance As ImGearOctreeReductionOptions
    Dim value As Integer
     
    value = instance.PaletteSize
     
    instance.PaletteSize = value
    public int PaletteSize
    public: int PaletteSize
    public:
    int PaletteSize

    Field Value

    Integer in range [8...256]. If Palette field is non-null, this must less than or equal to the number of colors in Palette field, and greater than or equal to MaxColors field.
    Remarks
    If no palette is specified (Palette field is null), this option is ignored and an optimized palette is automatically generated.
    See Also