Class GFJPEG2000

All Implemented Interfaces:
Object, External, JPEG2000

public class GFJPEG2000 extends GFExternal implements JPEG2000
Author:
Maksim Bezrukov
  • Field Details

  • Constructor Details

    • GFJPEG2000

      public GFJPEG2000(JPEG2000 jpeg2000, boolean hasColorSpace)
  • Method Details

    • getnrColorChannels

      public Long getnrColorChannels()
      Description copied from interface: JPEG2000
      the number of colour channels
      Specified by:
      getnrColorChannels in interface JPEG2000
    • getnrColorSpaceSpecs

      public Long getnrColorSpaceSpecs()
      Description copied from interface: JPEG2000
      the number of colour space specifications
      Specified by:
      getnrColorSpaceSpecs in interface JPEG2000
    • getnrColorSpacesWithApproxField

      public Long getnrColorSpacesWithApproxField()
      Description copied from interface: JPEG2000
      the number of colour space specifications with APPROX field set to 0x01
      Specified by:
      getnrColorSpacesWithApproxField in interface JPEG2000
    • getcolrMethod

      public Long getcolrMethod()
      Description copied from interface: JPEG2000
      the METH entry in the 'colr' box specification with APPROX field equal to 0x01
      Specified by:
      getcolrMethod in interface JPEG2000
    • getcolrEnumCS

      public Long getcolrEnumCS()
      Description copied from interface: JPEG2000
      EnumCS (enumerated color space) field of in the 'colr' box specification with APPROX field equal to 0x01
      Specified by:
      getcolrEnumCS in interface JPEG2000
    • getbitDepth

      public Long getbitDepth()
      Description copied from interface: JPEG2000
      image bit depth
      Specified by:
      getbitDepth in interface JPEG2000
    • getbpccBoxPresent

      public Boolean getbpccBoxPresent()
      Description copied from interface: JPEG2000
      true if the 'bpcc' box is present and, thus, the bit depth is not constant across all components
      Specified by:
      getbpccBoxPresent in interface JPEG2000
    • gethasColorSpace

      public Boolean gethasColorSpace()
      Description copied from interface: JPEG2000
      true, if Image XObject has /ColorSpace entry, which means that colr box in JPEG2000 should be ignored
      Specified by:
      gethasColorSpace in interface JPEG2000
    • getImageColorSpace

      public PDColorSpace getImageColorSpace()