Class SoJP2ImageRW


  • public class SoJP2ImageRW
    extends SoRasterImageRW
    Class for encoding and decoding a JPEG2000 raster image. This class is used for encoding and decoding a JPEG2000 raster image. This class also support reading of ECW and ECWP file format.

    The writeCapability is WRITE_FULL_IMAGE and isMultipleBufferInverted is false.

    See SoRasterImageRW for more information and code examples.

    See Also:
    SoRasterImageFile, SoRasterImageRW, SbRasterImage
    • Constructor Detail

      • SoJP2ImageRW

        public SoJP2ImageRW()
        Constructor.
    • Method Detail

      • setOutputQuality

        public void setOutputQuality​(float quality)
        Sets the output quality of the image, from 0.0 (lowest quality) to 1.0 (highest quality). Default is 0.7
      • getOutputQuality

        public float getOutputQuality()
        Returns the output quality.