Packages

 

com.aspose.imaging.imageoptions

Class WebPOptions

    • Constructor Detail

      • WebPOptions

        public WebPOptions()
    • Method Detail

      • getLossless

        public boolean getLossless()

        Gets or sets a value indicating whether this WebPOptions is lossless.

        Returns:
        true if lossless; otherwise, false.
      • setLossless

        public void setLossless(boolean value)

        Gets or sets a value indicating whether this WebPOptions is lossless.

        Parameters:
        value - true if lossless; otherwise, false.
      • getQuality

        public float getQuality()

        Gets or sets the quality.

        Returns:
        The quality.
      • setQuality

        public void setQuality(float value)

        Gets or sets the quality.

        Parameters:
        value - The quality.
      • getAnimLoopCount

        public int getAnimLoopCount()

        Gets or sets the animation loop count.

        Returns:
        The animartion loop count, 0 - infinity.
      • setAnimLoopCount

        public void setAnimLoopCount(int value)

        Gets or sets the animation loop count.

        Parameters:
        value - The animartion loop count, 0 - infinity.
      • getAnimBackgroundColor

        public long getAnimBackgroundColor()

        Gets or sets the color of the animation background.

        Returns:
        The color of the animation background.
      • setAnimBackgroundColor

        public void setAnimBackgroundColor(long value)

        Gets or sets the color of the animation background.

        Parameters:
        value - The color of the animation background.