public static class NativeQTFormat.Writer extends AbstractWriter<NativeQTFormat.Metadata>
| Modifier and Type | Field and Description |
|---|---|
static int |
CODEC_ANIMATION
Value indicating Animation codec.
|
static int |
CODEC_CINEPAK
Value indicating Cinepak codec.
|
static int |
CODEC_H_263
Value indicating H.263 codec.
|
static int |
CODEC_MOTION_JPEG_B
Value indicating Motion JPEG-B codec.
|
static int |
CODEC_MPEG_4
Value indicating MPEG-4 codec.
|
static int |
CODEC_RAW
Value indicating Raw codec.
|
static int |
CODEC_SORENSON
Value indicating Sorenson codec.
|
static int |
CODEC_SORENSON_3
Value indicating Sorenson 3 codec.
|
static int |
QUALITY_HIGH
Value indicating High quality.
|
static int |
QUALITY_LOW
Value indicating Low quality.
|
static int |
QUALITY_MAXIMUM
Value indicating Maximum quality.
|
static int |
QUALITY_NORMAL
Value indicating Normal quality.
|
| 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.
|
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 |
setCodec(int codec)
Sets the encoded movie's codec.
|
void |
setDest(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream,
int imageIndex,
SCIFIOConfig config)
As
Writer.setDest(DataHandle, int), with specification for new
configuration options. |
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, getValidBits, isInitialized, isSupportedCompression, isSupportedType, savePlane, savePlane, setColorModel, 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 static final int CODEC_MOTION_JPEG_B
public static final int CODEC_CINEPAK
public static final int CODEC_ANIMATION
public static final int CODEC_H_263
public static final int CODEC_SORENSON
public static final int CODEC_SORENSON_3
public static final int CODEC_MPEG_4
public static final int CODEC_RAW
public static final int QUALITY_LOW
public static final int QUALITY_NORMAL
public static final int QUALITY_HIGH
public static final int QUALITY_MAXIMUM
protected String[] makeCompressionTypes()
makeCompressionTypes in class AbstractWriter<NativeQTFormat.Metadata>public void setCodec(int codec)
codec - Codec value:
public void setQuality(int quality)
quality - Quality value:
protected void initialize(int imageIndex,
long planeIndex,
net.imglib2.Interval bounds)
throws FormatException,
IOException
AbstractWriterinitialize in class AbstractWriter<NativeQTFormat.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<NativeQTFormat.Metadata>FormatExceptionIOExceptionpublic boolean canDoStacks()
canDoStacks in interface WritercanDoStacks in class AbstractWriter<NativeQTFormat.Metadata>Writer can save multiple images to a single
file.public int[] getPixelTypes(String codec)
WritergetPixelTypes in interface WritergetPixelTypes in class AbstractWriter<NativeQTFormat.Metadata>public void close()
throws IOException
HasSource
Equivalent to calling close(false).
close in interface HasSourceclose in class AbstractHasSourceIOExceptionpublic void setDest(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream, int imageIndex, SCIFIOConfig config) throws FormatException, IOException
WriterWriter.setDest(DataHandle, int), with specification for new
configuration options.setDest in interface WritersetDest in class AbstractWriter<NativeQTFormat.Metadata>stream - 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.