public abstract class ImageIOWriter
extends loci.formats.FormatWriter
| Modifier and Type | Field and Description |
|---|---|
protected String |
kind |
protected DataOutputStream |
out |
| Constructor and Description |
|---|
ImageIOWriter(String format,
String[] suffixes,
String kind)
Constructs an ImageIO-based writer with the given name, default suffixes
and output type (e.g., png, jpeg).
|
ImageIOWriter(String format,
String suffix,
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(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, waitprotected String kind
protected DataOutputStream out
public ImageIOWriter(String format, String suffix, String kind)
public void saveImage(Image image, boolean last) throws loci.formats.FormatException, IOException
loci.formats.IFormatWriterloci.formats.FormatExceptionIOExceptionpublic int[] getPixelTypes()
loci.formats.IFormatWritergetPixelTypes in interface loci.formats.IFormatWritergetPixelTypes in class loci.formats.FormatWriterpublic void close()
throws IOException
loci.formats.IFormatHandlerIOException