Methods Summary |
---|
public javax.imageio.ImageReadParam | getDefaultReadParam()
return new ImageReadParam();
|
public int | getHeight(int imageIndex)
//-- TODO imlement
throw new UnsupportedOperationException("not implemented yet");
|
public javax.imageio.metadata.IIOMetadata | getImageMetadata(int imageIndex)
//-- TODO imlement
throw new UnsupportedOperationException("not implemented yet");
|
public java.util.Iterator | getImageTypes(int imageIndex)
//-- TODO imlement
throw new UnsupportedOperationException("not implemented yet");
|
public int | getNumImages(boolean allowSearch)
//-- TODO imlement
throw new UnsupportedOperationException("not implemented yet");
|
public javax.imageio.metadata.IIOMetadata | getStreamMetadata()
//-- TODO imlement
throw new UnsupportedOperationException("not implemented yet");
|
public int | getWidth(int imageIndex)
//-- TODO imlement
throw new UnsupportedOperationException("not implemented yet");
|
public java.awt.image.BufferedImage | read(int i, javax.imageio.ImageReadParam imageReadParam)
if (iis == null) {
throw new IllegalArgumentException("input stream == null");
}
DecodingImageSource source = new IISDecodingImageSource(iis);
OffscreenImage image = new OffscreenImage(source);
source.addConsumer(image);
source.load();
// The interrupted flag should be cleared because ImageDecoder interrupts
// current thread while decoding (due its architecture).
Thread.interrupted();
return image.getBufferedImage();
|
public java.awt.image.BufferedImage | read(int i)
return read(i, null);
|
public void | setInput(java.lang.Object input, boolean seekForwardOnly, boolean ignoreMetadata)
super.setInput(input, seekForwardOnly, ignoreMetadata);
iis = (ImageInputStream) input;
|