public static class LegacyQTFormat.Writer extends AbstractWriter<LegacyQTFormat.Metadata>
| Constructor and Description |
|---|
Writer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDoStacks() |
void |
close()
Closes the image source(s) associated with this component and resets the
component to its default state.
|
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 |
setCodec(int codec)
Sets the encoded movie's codec.
|
void |
setQuality(int quality)
Sets the quality of the encoded movie.
|
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, getPixelTypes, getValidBits, isInitialized, isSupportedCompression, isSupportedType, savePlane, savePlane, setColorModel, setDest, setDest, setDest, setDest, setDest, setDest, setDest, setDest, setMetadata, setMetadata, writeSequentialasBrowsableLocation, asBrowsableLocation, getFormat, getFormatNamegetVersion, loggetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFormat, getFormatNamegetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationpublic void setCodec(int codec)
codec - Codec value:
public void setQuality(int quality)
quality - Quality value:
protected String[] makeCompressionTypes()
makeCompressionTypes in class AbstractWriter<LegacyQTFormat.Metadata>protected void initialize(int imageIndex,
long planeIndex,
net.imglib2.Interval bounds)
throws FormatException,
IOException
AbstractWriterinitialize in class AbstractWriter<LegacyQTFormat.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<LegacyQTFormat.Metadata>FormatExceptionIOExceptionpublic boolean canDoStacks()
canDoStacks in interface WritercanDoStacks in class AbstractWriter<LegacyQTFormat.Metadata>Writer can save multiple images to a single
file.public void close()
throws IOException
HasSource
Equivalent to calling close(false).
close in interface HasSourceclose in class AbstractHasSourceIOExceptionCopyright © 2011–2026 SCIFIO. All rights reserved.