public abstract class ImageIOWriter
extends loci.formats.FormatWriter
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
kind |
protected java.io.DataOutputStream |
out |
| Constructor and Description |
|---|
ImageIOWriter(java.lang.String format,
java.lang.String[] suffixes,
java.lang.String kind)
Constructs an ImageIO-based writer with the given name, default suffixes
and output type (e.g., png, jpeg).
|
ImageIOWriter(java.lang.String format,
java.lang.String suffix,
java.lang.String kind)
Constructs an ImageIO-based writer with the given name, default suffix
and output type (e.g., png, jpeg).
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes currently open file(s) and frees allocated memory.
|
int[] |
getPixelTypes()
Gets the supported pixel types.
|
void |
saveImage(java.awt.Image image,
boolean last)
Saves the given image to the current file.
|
canDoStacks, canDoStacks, getColorModel, getCompressionTypes, getFramesPerSecond, getMetadataRetrieve, getPixelTypes, isSupportedType, isSupportedType, save, saveBytes, saveBytes, saveImage, setColorModel, setCompression, setFramesPerSecond, setId, setMetadataRetrieveaddStatusListener, debug, getFormat, getStatusListeners, getSuffixes, isThisType, isThisType, removeStatusListener, setDebug, setDebugLevel, setId, status, status, status, trace, traceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ImageIOWriter(java.lang.String format,
java.lang.String suffix,
java.lang.String kind)
public ImageIOWriter(java.lang.String format,
java.lang.String[] suffixes,
java.lang.String kind)
public void saveImage(java.awt.Image image,
boolean last)
throws loci.formats.FormatException,
java.io.IOException
loci.formats.IFormatWriterloci.formats.FormatExceptionjava.io.IOExceptionpublic int[] getPixelTypes()
loci.formats.IFormatWritergetPixelTypes in interface loci.formats.IFormatWritergetPixelTypes in class loci.formats.FormatWriterpublic void close()
throws java.io.IOException
loci.formats.IFormatHandlerjava.io.IOException