Class Jpeg2000ImageData.Parameters

java.lang.Object
com.itextpdf.io.image.Jpeg2000ImageData.Parameters
Enclosing class:
Jpeg2000ImageData

public static class Jpeg2000ImageData.Parameters extends 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

      public List<Jpeg2000ImageData.ColorSpecBox> getColorSpecBoxes()
      Retrieves the color spec boxes of the object.
      Returns:
      color spec boxes
    • setColorSpecBoxes

      public void setColorSpecBoxes (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