Package com.itextpdf.io.image
Class Jpeg2000ImageData.Parameters
java.lang.Object
com.itextpdf.io.image.Jpeg2000ImageData.Parameters
- Enclosing class:
- Jpeg2000ImageData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Retrieves the bits per component of the box data.Retrieves the color spec boxes of the object.intRetrieves number of components of the object.booleanisJp2()Retrieves whether the object is a Jp2.booleanRetrieves whether jpx is baseline.voidsetBpcBoxData(byte[] bpcBoxData) Sets the bits per component of the box data.voidsetColorSpecBoxes(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.
-
Constructor Details
-
Parameters
public Parameters()
-
-
Method Details
-
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
Retrieves the color spec boxes of the object.- Returns:
- color spec boxes
-
setColorSpecBoxes
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
-