Class ThumbnailReader.IndexedThumbnailReader
java.lang.Object
com.twelvemonkeys.imageio.plugins.jpeg.ThumbnailReader
com.twelvemonkeys.imageio.plugins.jpeg.ThumbnailReader.IndexedThumbnailReader
- Enclosing class:
ThumbnailReader
-
Nested Class Summary
Nested classes/interfaces inherited from class com.twelvemonkeys.imageio.plugins.jpeg.ThumbnailReader
ThumbnailReader.IndexedThumbnailReader, ThumbnailReader.JPEGThumbnailReader, ThumbnailReader.UncompressedThumbnailReader
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIndexedThumbnailReader
(int width, int height, byte[] palette, int paletteOff, byte[] data, int dataOff) -
Method Summary
Methods inherited from class com.twelvemonkeys.imageio.plugins.jpeg.ThumbnailReader
readMetadata
-
Field Details
-
width
private final int width -
height
private final int height -
palette
private final byte[] palette -
paletteOff
private final int paletteOff -
data
private final byte[] data -
dataOff
private final int dataOff
-
-
Constructor Details
-
IndexedThumbnailReader
public IndexedThumbnailReader(int width, int height, byte[] palette, int paletteOff, byte[] data, int dataOff)
-
-
Method Details
-
read
- Specified by:
read
in classThumbnailReader
- Throws:
IOException
-
getWidth
- Specified by:
getWidth
in classThumbnailReader
- Throws:
IOException
-
getHeight
- Specified by:
getHeight
in classThumbnailReader
- Throws:
IOException
-