loci.formats.out
Class JPEGWriter
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatWriter
loci.formats.out.ImageIOWriter
loci.formats.out.JPEGWriter
- All Implemented Interfaces:
- IFormatHandler, IFormatWriter, StatusReporter
public class JPEGWriter
- extends ImageIOWriter
JPEGWriter is the file format writer for JPEG files.
- Source code:
- Trac,
SVN
Method Summary |
int[] |
getPixelTypes()
Gets the supported pixel types. |
void |
saveImage(Image image,
boolean last)
Saves the given image to the current file. |
Methods inherited from class loci.formats.FormatWriter |
canDoStacks, 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 |
JPEGWriter
public JPEGWriter()
saveImage
public void saveImage(Image image,
boolean last)
throws FormatException,
IOException
- Description copied from interface:
IFormatWriter
- Saves the given image to the current file.
If this image is the last one in the file, the last flag must be set.
- Specified by:
saveImage
in interface IFormatWriter
- Overrides:
saveImage
in class ImageIOWriter
- Throws:
FormatException
IOException
getPixelTypes
public int[] getPixelTypes()
- Description copied from interface:
IFormatWriter
- Gets the supported pixel types.
- Specified by:
getPixelTypes
in interface IFormatWriter
- Overrides:
getPixelTypes
in class ImageIOWriter