Packages

 

com.aspose.imaging.imageoptions

Class Jpeg2000Options

    • Constructor Detail

      • Jpeg2000Options

        public Jpeg2000Options()

        Initializes a new instance of the Jpeg2000Options class.

      • Jpeg2000Options

        public Jpeg2000Options(Jpeg2000Options jpeg2000Options)

        Initializes a new instance of the Jpeg2000Options class.

        Parameters:
        jpeg2000Options - The Jpeg2000 file format options to copy settings from.
    • Method Detail

      • getComments

        public String[] getComments()

        Gets or sets the Jpeg comment markers.

        Returns:
        The Jpeg comment markers.
      • setComments

        public void setComments(String[] value)

        Gets or sets the Jpeg comment markers.

        Parameters:
        value - The Jpeg comment markers.
      • getCodec

        public int getCodec()

        Gets or sets the JPEG2000 codec

        Returns:
        The JPEG2000 codec
      • setCodec

        public void setCodec(int value)

        Gets or sets the JPEG2000 codec

        Parameters:
        value - The JPEG2000 codec
      • getCompressionRatios

        public int[] getCompressionRatios()

        Gets or sets the Array of compression ratio. Different compression ratios for successive layers. The rate specified for each quality level is the desired compression factor. Decreasing ratios required.

        Returns:
        The compression ratios.
      • setCompressionRatios

        public void setCompressionRatios(int[] value)

        Gets or sets the Array of compression ratio. Different compression ratios for successive layers. The rate specified for each quality level is the desired compression factor. Decreasing ratios required.

        Parameters:
        value - The compression ratios.
      • getIrreversible

        public boolean getIrreversible()

        Gets a value indicating whether use the irreversible DWT 9-7 (true) or use lossless DWT 5-3 compression (default).

        Returns:
        a value indicating whether use the irreversible DWT 9-7 (true) or use lossless DWT 5-3 compression
      • setIrreversible

        public void setIrreversible(boolean value)

        Sets a value indicating whether use the irreversible DWT 9-7 (true) or use lossless DWT 5-3 compression (default).

        Parameters:
        value - a value indicating whether use the irreversible DWT 9-7 (true) or use lossless DWT 5-3 compression