loci.formats.out
Class AVIWriter

java.lang.Object
  extended by loci.formats.FormatHandler
      extended by loci.formats.FormatWriter
          extended by loci.formats.out.AVIWriter
All Implemented Interfaces:
loci.formats.IFormatHandler, loci.formats.IFormatWriter, loci.formats.StatusReporter

public class AVIWriter
extends loci.formats.FormatWriter

AVIWriter is the file format writer for AVI files. Much of this writer's code was adapted from Wayne Rasband's AVI Movie Writer plugin for ImageJ (available at http://rsb.info.nih.gov/ij/).

Source code:
Trac, SVN


Field Summary
 
Fields inherited from class loci.formats.FormatWriter
cm, compression, compressionTypes, fps, initialized, metadataRetrieve
 
Fields inherited from class loci.formats.FormatHandler
currentId, debug, debugLevel, format, statusListeners, suffixes
 
Constructor Summary
AVIWriter()
           
 
Method Summary
 boolean canDoStacks()
           
 void close()
           
 int[] getPixelTypes()
           
 void saveImage(Image image, boolean last)
           
 
Methods inherited from class loci.formats.FormatWriter
canDoStacks, getColorModel, getCompressionTypes, getFramesPerSecond, getMetadataRetrieve, getPixelTypes, isSupportedType, isSupportedType, save, saveBytes, saveBytes, saveImage, setColorModel, setCompression, setFramesPerSecond, setId, setMetadataRetrieve
 
Methods inherited from class loci.formats.FormatHandler
addStatusListener, debug, getFormat, getStatusListeners, getSuffixes, isThisType, isThisType, removeStatusListener, setDebug, setDebugLevel, setId, status, status, status, trace, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface loci.formats.IFormatHandler
getFormat, getSuffixes, isThisType, isThisType, setId
 
Methods inherited from interface loci.formats.StatusReporter
addStatusListener, getStatusListeners, removeStatusListener
 

Constructor Detail

AVIWriter

public AVIWriter()
Method Detail

saveImage

public void saveImage(Image image,
                      boolean last)
               throws loci.formats.FormatException,
                      IOException
Throws:
loci.formats.FormatException
IOException

canDoStacks

public boolean canDoStacks()
Specified by:
canDoStacks in interface loci.formats.IFormatWriter
Overrides:
canDoStacks in class loci.formats.FormatWriter

getPixelTypes

public int[] getPixelTypes()
Specified by:
getPixelTypes in interface loci.formats.IFormatWriter
Overrides:
getPixelTypes in class loci.formats.FormatWriter

close

public void close()
           throws IOException
Throws:
IOException