Packages

 

com.aspose.psd.dithering

Class DitheringMode



  • public class DitheringMode
    extends Object

    Dithering settings to be applied to image upon saving.

    • Constructor Detail

      • DitheringMode

        public DitheringMode()
    • Method Detail

      • getMethod

        public int getMethod()

        Dithering algorithm selection.

      • setMethod

        public void setMethod(int value)

        Dithering algorithm selection.

      • getBits

        public int getBits()

        The sampling factor of dithered image.

      • setBits

        public void setBits(int value)

        The sampling factor of dithered image.

      • getCustomPalette

        public IColorPalette getCustomPalette()

        The custom palette for dithering.

      • setCustomPalette

        public void setCustomPalette(IColorPalette value)

        The custom palette for dithering.