Package loci.formats.codec
Class JPEGTileDecoder
java.lang.Object
loci.formats.codec.JPEGTileDecoder
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intbyte[]getScanline(int y) intgetWidth()voidinitialize(String id, int imageWidth) voidinitialize(RandomAccessInputStream in, int imageWidth) voidinitialize(RandomAccessInputStream in, int y, int h, int imageWidth) int[]Pre-process the stream to make sure that the image width and height are non-zero.
-
Constructor Details
-
JPEGTileDecoder
public JPEGTileDecoder()
-
-
Method Details
-
initialize
-
initialize
-
initialize
-
preprocess
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:
closein interfaceAutoCloseable
-