Class CLibImageReader

java.lang.Object
javax.imageio.ImageReader
com.github.jaiimageio.impl.plugins.clib.CLibImageReader

public abstract class CLibImageReader extends ImageReader
  • Field Details

    • currIndex

      private int currIndex
    • highWaterMark

      private long highWaterMark
    • imageStartPosition

      private ArrayList imageStartPosition
    • numImages

      private int numImages
    • mlibImageIndex

      private int mlibImageIndex
  • Constructor Details

    • CLibImageReader

      protected CLibImageReader(ImageReaderSpi originatingProvider)
  • Method Details

    • subBandsMatch

      private static boolean subBandsMatch(int[] sourceBands, int[] destinationBands)
      Returns true if and only if both arguments are null or both are non-null and have the same length and content.
    • subsample

      private static final void subsample(Raster src, int subX, int subY, WritableRaster dst)
    • getImageIndex

      protected int getImageIndex()
      Returns the index of the image cached in the private mlibImage instance variable or -1 if no image is currently cached.
    • getStreamMetadata

      public IIOMetadata getStreamMetadata() throws IOException
      Specified by:
      getStreamMetadata in class ImageReader
      Throws:
      IOException