Class PageInformation

java.lang.Object
org.apache.pdfbox.jbig2.segments.PageInformation
All Implemented Interfaces:
SegmentData

public class PageInformation extends Object implements SegmentData
This class represents the segment type "Page information", 7.4.8 (page 73).
  • Constructor Details

    • PageInformation

      public PageInformation()
  • Method Details

    • init

      public void init(SegmentHeader header, SubInputStream sis) throws InvalidHeaderValueException, IOException
      Description copied from interface: SegmentData
      Parse the stream and read information of header.
      Specified by:
      init in interface SegmentData
      Parameters:
      header - - The segments' header (to make referred-to segments available in data part).
      sis - - Wrapped ImageInputStream into SubInputStream.
      Throws:
      InvalidHeaderValueException - if the segment header value is invalid
      IOException - if an underlying IO operation fails
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getResolutionX

      public int getResolutionX()
    • getResolutionY

      public int getResolutionY()
    • getDefaultPixelValue

      public short getDefaultPixelValue()
    • isCombinationOperatorOverrideAllowed

      public boolean isCombinationOperatorOverrideAllowed()
    • getCombinationOperator

      public CombinationOperator getCombinationOperator()
    • isStriped

      public boolean isStriped()
    • getMaxStripeSize

      public short getMaxStripeSize()
    • isAuxiliaryBufferRequired

      public boolean isAuxiliaryBufferRequired()
    • mightContainRefinements

      public boolean mightContainRefinements()
    • isLossless

      public boolean isLossless()
    • getBitmapWidth

      protected int getBitmapWidth()
    • getBitmapHeight

      protected int getBitmapHeight()