Package com.itextpdf.io.image
Class Jpeg2000ImageData.Parameters
- java.lang.Object
-
- com.itextpdf.io.image.Jpeg2000ImageData.Parameters
-
- Enclosing class:
- Jpeg2000ImageData
public static class Jpeg2000ImageData.Parameters extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]bpcBoxDataprivate java.util.List<Jpeg2000ImageData.ColorSpecBox>colorSpecBoxesprivate booleanisJp2private booleanisJpxBaselineprivate intnumOfComps
-
Constructor Summary
Constructors Constructor Description Parameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBpcBoxData()Retrieves the bits per component of the box data.java.util.List<Jpeg2000ImageData.ColorSpecBox>getColorSpecBoxes()Retrieves the color spec boxes of the object.intgetNumOfComps()Retrieves number of components of the object.booleanisJp2()Retrieves whether the object is a Jp2.booleanisJpxBaseline()Retrieves whether jpx is baseline.voidsetBpcBoxData(byte[] bpcBoxData)Sets the bits per component of the box data.voidsetColorSpecBoxes(java.util.List<Jpeg2000ImageData.ColorSpecBox> colorSpecBoxes)Sets the color spec boxes of the object.voidsetJp2(boolean jp2)Sets whether the object is a jp2.voidsetJpxBaseline(boolean jpxBaseline)Sets whether jpx is baseline.voidsetNumOfComps(int numOfComps)Sets number of components of the object.
-
-
-
Field Detail
-
numOfComps
private int numOfComps
-
colorSpecBoxes
private java.util.List<Jpeg2000ImageData.ColorSpecBox> colorSpecBoxes
-
isJp2
private boolean isJp2
-
isJpxBaseline
private boolean isJpxBaseline
-
bpcBoxData
private byte[] bpcBoxData
-
-
Method Detail
-
getNumOfComps
public int getNumOfComps()
Retrieves number of components of the object.- Returns:
- number of components
-
setNumOfComps
public void setNumOfComps(int numOfComps)
Sets number of components of the object.- Parameters:
numOfComps- number of components
-
getColorSpecBoxes
public java.util.List<Jpeg2000ImageData.ColorSpecBox> getColorSpecBoxes()
Retrieves the color spec boxes of the object.- Returns:
- color spec boxes
-
setColorSpecBoxes
public void setColorSpecBoxes(java.util.List<Jpeg2000ImageData.ColorSpecBox> colorSpecBoxes)
Sets the color spec boxes of the object.- Parameters:
colorSpecBoxes- color spec boxes
-
isJp2
public boolean isJp2()
Retrieves whether the object is a Jp2.- Returns:
- true if it is a jp2, otherwise false
-
setJp2
public void setJp2(boolean jp2)
Sets whether the object is a jp2.- Parameters:
jp2- true is it is a jp2, otherwise false
-
isJpxBaseline
public boolean isJpxBaseline()
Retrieves whether jpx is baseline.- Returns:
- true if jpx is baseline, false otherwise
-
setJpxBaseline
public void setJpxBaseline(boolean jpxBaseline)
Sets whether jpx is baseline.- Parameters:
jpxBaseline- true if jpx is baseline, false otherwise
-
getBpcBoxData
public byte[] getBpcBoxData()
Retrieves the bits per component of the box data.- Returns:
- bits per component
-
setBpcBoxData
public void setBpcBoxData(byte[] bpcBoxData)
Sets the bits per component of the box data.- Parameters:
bpcBoxData- bits per component
-
-