public class PBoxJPEG2000 extends PBoxExternal implements JPEG2000
| Modifier and Type | Field and Description |
|---|---|
static String |
JPEG_2000_TYPE |
contextDependent| Modifier and Type | Method and Description |
|---|---|
static PBoxJPEG2000 |
fromStream(InputStream stream,
PDDocument document,
PDFAFlavour flavour)
Creates new PBoxJPEG2000 object that implements JPEG2000 object from the model from the given jp2 image stream
|
Long |
getbitDepth()
image bit depth
|
Boolean |
getbpccBoxPresent()
true if the 'bpcc' box is present and, thus, the bit depth is not constant across all components
|
Long |
getcolrEnumCS()
EnumCS (enumerated color space) field of in the 'colr' box specification with APPROX field equal to 0x01
|
Long |
getcolrMethod()
the METH entry in the 'colr' box specification with APPROX field equal to 0x01
|
PDColorSpace |
getImageColorSpace() |
Long |
getnrColorChannels()
the number of colour channels
|
Long |
getnrColorSpaceSpecs()
the number of colour space specifications
|
Long |
getnrColorSpacesWithApproxField()
the number of colour space specifications with APPROX field set to 0x01
|
getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static final String JPEG_2000_TYPE
public static PBoxJPEG2000 fromStream(InputStream stream, PDDocument document, PDFAFlavour flavour)
stream - image stream to parsepublic PDColorSpace getImageColorSpace()
public Long getnrColorChannels()
JPEG2000getnrColorChannels in interface JPEG2000public Long getnrColorSpaceSpecs()
JPEG2000getnrColorSpaceSpecs in interface JPEG2000public Long getnrColorSpacesWithApproxField()
JPEG2000getnrColorSpacesWithApproxField in interface JPEG2000public Long getcolrMethod()
JPEG2000getcolrMethod in interface JPEG2000public Long getcolrEnumCS()
JPEG2000getcolrEnumCS in interface JPEG2000public Long getbitDepth()
JPEG2000getbitDepth in interface JPEG2000public Boolean getbpccBoxPresent()
JPEG2000getbpccBoxPresent in interface JPEG2000Copyright © 2015–2016 The veraPDF Consortium. All rights reserved.