Class GFJPEG2000
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- org.verapdf.gf.model.impl.external.GFExternal
-
- org.verapdf.gf.model.impl.external.GFJPEG2000
-
public class GFJPEG2000 extends GFExternal implements JPEG2000
- Author:
- Maksim Bezrukov
-
-
Field Summary
Fields Modifier and Type Field Description static StringJPEG_2000_TYPE-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Constructor Description GFJPEG2000(JPEG2000 jpeg2000, boolean hasColorSpace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetbitDepth()image bit depthBooleangetbpccBoxPresent()true if the 'bpcc' box is present and, thus, the bit depth is not constant across all componentsLonggetcolrEnumCS()EnumCS (enumerated color space) field of in the 'colr' box specification with APPROX field equal to 0x01LonggetcolrMethod()the METH entry in the 'colr' box specification with APPROX field equal to 0x01BooleangethasColorSpace()true, if Image XObject has /ColorSpace entry, which means that colr box in JPEG2000 should be ignoredPDColorSpacegetImageColorSpace()LonggetnrColorChannels()the number of colour channelsLonggetnrColorSpaceSpecs()the number of colour space specificationsLonggetnrColorSpacesWithApproxField()the number of colour space specifications with APPROX field set to 0x01-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
-
-
-
Field Detail
-
JPEG_2000_TYPE
public static final String JPEG_2000_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFJPEG2000
public GFJPEG2000(JPEG2000 jpeg2000, boolean hasColorSpace)
-
-
Method Detail
-
getnrColorChannels
public Long getnrColorChannels()
Description copied from interface:JPEG2000the number of colour channels- Specified by:
getnrColorChannelsin interfaceJPEG2000
-
getnrColorSpaceSpecs
public Long getnrColorSpaceSpecs()
Description copied from interface:JPEG2000the number of colour space specifications- Specified by:
getnrColorSpaceSpecsin interfaceJPEG2000
-
getnrColorSpacesWithApproxField
public Long getnrColorSpacesWithApproxField()
Description copied from interface:JPEG2000the number of colour space specifications with APPROX field set to 0x01- Specified by:
getnrColorSpacesWithApproxFieldin interfaceJPEG2000
-
getcolrMethod
public Long getcolrMethod()
Description copied from interface:JPEG2000the METH entry in the 'colr' box specification with APPROX field equal to 0x01- Specified by:
getcolrMethodin interfaceJPEG2000
-
getcolrEnumCS
public Long getcolrEnumCS()
Description copied from interface:JPEG2000EnumCS (enumerated color space) field of in the 'colr' box specification with APPROX field equal to 0x01- Specified by:
getcolrEnumCSin interfaceJPEG2000
-
getbitDepth
public Long getbitDepth()
Description copied from interface:JPEG2000image bit depth- Specified by:
getbitDepthin interfaceJPEG2000
-
getbpccBoxPresent
public Boolean getbpccBoxPresent()
Description copied from interface:JPEG2000true if the 'bpcc' box is present and, thus, the bit depth is not constant across all components- Specified by:
getbpccBoxPresentin interfaceJPEG2000
-
gethasColorSpace
public Boolean gethasColorSpace()
Description copied from interface:JPEG2000true, if Image XObject has /ColorSpace entry, which means that colr box in JPEG2000 should be ignored- Specified by:
gethasColorSpacein interfaceJPEG2000
-
getImageColorSpace
public PDColorSpace getImageColorSpace()
-
-