SeekableStream
mark()
resest()
This class is not a committed part of the JAI API. It may be removed or changed in future releases of JAI.
616617618619620621622623624625626
ss.changeDirectoryToRoot(); byte[] s = ss.getStreamAsBytes("SummaryInformation"); PropertySet ps = new PropertySet(new ByteArraySeekableStream(s)); // Get the thumbnail property byte[] thumb = ps.getBlob(17); // Emit it as a BMP file