public static class ICSFormat.Writer extends AbstractWriter<ICSFormat.Metadata>
| Constructor and Description |
|---|
Writer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDoStacks() |
void |
close(int imageIndex) |
int[] |
getPixelTypes(String codec)
Gets the supported pixel types for the given codec.
|
protected void |
initialize(int imageIndex,
long planeIndex,
net.imglib2.Interval bounds)
Ensures this writer is prepared to write the given plane of the given
image.
|
protected String[] |
makeCompressionTypes() |
void |
setDest(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> out,
int imageIndex,
SCIFIOConfig config)
As
Writer.setDest(DataHandle, int), with specification for new
configuration options. |
void |
writePlane(int imageIndex,
long planeIndex,
Plane plane,
net.imglib2.Interval bounds)
Helper method invoked by
AbstractWriter.savePlane(int, long, io.scif.Plane) to perform actual format-
specific output. |
checkLocation, checkParams, close, getCodecOptions, getColorModel, getCompression, getCompressionTypes, getFramesPerSecond, getHandle, getMetadata, getValidBits, isInitialized, isSupportedCompression, isSupportedType, savePlane, savePlane, setColorModel, setDest, setDest, setDest, setDest, setDest, setDest, setDest, setMetadata, setMetadata, writeSequentialcloseasBrowsableLocation, asBrowsableLocation, getFormat, getFormatNamegetVersion, loggetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFormat, getFormatNamegetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationprotected String[] makeCompressionTypes()
makeCompressionTypes in class AbstractWriter<ICSFormat.Metadata>protected void initialize(int imageIndex,
long planeIndex,
net.imglib2.Interval bounds)
throws FormatException,
IOException
AbstractWriterinitialize in class AbstractWriter<ICSFormat.Metadata>FormatExceptionIOExceptionpublic void writePlane(int imageIndex,
long planeIndex,
Plane plane,
net.imglib2.Interval bounds)
throws FormatException,
IOException
AbstractWriterAbstractWriter.savePlane(int, long, io.scif.Plane) to perform actual format-
specific output.writePlane in class AbstractWriter<ICSFormat.Metadata>FormatExceptionIOExceptionpublic boolean canDoStacks()
canDoStacks in interface WritercanDoStacks in class AbstractWriter<ICSFormat.Metadata>Writer can save multiple images to a single
file.public int[] getPixelTypes(String codec)
WritergetPixelTypes in interface WritergetPixelTypes in class AbstractWriter<ICSFormat.Metadata>public void close(int imageIndex)
throws IOException
IOExceptionpublic void setDest(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> out, int imageIndex, SCIFIOConfig config) throws FormatException, IOException
WriterWriter.setDest(DataHandle, int), with specification for new
configuration options.setDest in interface WritersetDest in class AbstractWriter<ICSFormat.Metadata>out - The image source to write to.imageIndex - The index within the source that will be written.config - Configuration information to use for this write.FormatExceptionIOExceptionCopyright © 2011–2026 SCIFIO. All rights reserved.