Package ome.codecs

Class JPEGTileDecoder

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class JPEGTileDecoder
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Detail

      • JPEGTileDecoder

        public JPEGTileDecoder()
    • Method Detail

      • initialize

        public void initialize​(java.lang.String id,
                               int imageWidth)
      • preprocess

        public int[] preprocess​(loci.common.RandomAccessInputStream in)
        Pre-process the stream to make sure that the image width and height are non-zero. Returns an array containing the image width and height.
      • getScanline

        public byte[] getScanline​(int y)
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable