Class ThumbnailReader.UncompressedThumbnailReader
java.lang.Object
com.twelvemonkeys.imageio.plugins.jpeg.ThumbnailReader
com.twelvemonkeys.imageio.plugins.jpeg.ThumbnailReader.UncompressedThumbnailReader
- 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
ConstructorsConstructorDescriptionUncompressedThumbnailReader
(int width, int height, byte[] data) UncompressedThumbnailReader
(int width, int height, byte[] data, int offset) -
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 -
data
private final byte[] data -
offset
private final int offset
-
-
Constructor Details
-
UncompressedThumbnailReader
public UncompressedThumbnailReader(int width, int height, byte[] data) -
UncompressedThumbnailReader
public UncompressedThumbnailReader(int width, int height, byte[] data, int offset)
-
-
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
-