Package loci.formats.out
Class ImageIOWriter
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatWriter
loci.formats.out.ImageIOWriter
- All Implemented Interfaces:
Closeable,AutoCloseable,loci.formats.ICompressedTileWriter,loci.formats.IFormatHandler,loci.formats.IFormatWriter,loci.formats.IMetadataConfigurable,loci.formats.IPyramidHandler
- Direct Known Subclasses:
JPEGWriter
ImageIOWriter is the superclass for file format writers that use the
javax.imageio library.
-
Field Summary
FieldsFields inherited from class loci.formats.FormatWriter
cm, compression, compressionTypes, fps, initialized, interleaved, metadataRetrieve, options, out, resolution, resolutionData, sequential, series, validBitsFields inherited from class loci.formats.FormatHandler
COMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixes -
Constructor Summary
ConstructorsConstructorDescriptionImageIOWriter(String format, String[] suffixes, String kind) Constructs an ImageIO-based writer with the given name, default suffixes and output type (e.g., png, jpeg).ImageIOWriter(String format, String suffix, String kind) Constructs an ImageIO-based writer with the given name, default suffix and output type (e.g., png, jpeg). -
Method Summary
Modifier and TypeMethodDescriptionClass<?> int[]getPixelTypes(String codec) voidsaveBytes(int no, byte[] buf, int x, int y, int w, int h) voidMethods inherited from class loci.formats.FormatWriter
canDoStacks, changeOutputFile, checkParams, close, createOutputStream, getCodecOptions, getColorModel, getCompression, getCompressionTypes, getFramesPerSecond, getMetadataRetrieve, getPixelTypes, getPlaneCount, getPlaneCount, getResolution, getResolutionCount, getResolutions, getSamplesPerPixel, getSamplesPerPixel, getSeries, getSizeX, getSizeY, getTileSizeX, getTileSizeY, hasResolutions, isFullPlane, isInterleaved, isSupportedType, saveBytes, saveBytes, savePlane, savePlane, seekToPlaneOffset, setCodecOptions, setColorModel, setCompression, setFramesPerSecond, setId, setInterleaved, setMetadataRetrieve, setResolution, setResolutions, setSeries, setTileSizeX, setTileSizeY, setValidBitsPerPixel, setWriteSequentiallyMethods inherited from class loci.formats.FormatHandler
checkSuffix, checkSuffix, getFormat, getMetadataOptions, getSuffixes, getSupportedMetadataLevels, isThisType, setMetadataOptionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface loci.formats.ICompressedTileWriter
getCodec, saveCompressedBytesMethods inherited from interface loci.formats.IFormatHandler
getFormat, getSuffixes, isThisTypeMethods inherited from interface loci.formats.IMetadataConfigurable
getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
-
Field Details
-
kind
-
-
Constructor Details
-
ImageIOWriter
Constructs an ImageIO-based writer with the given name, default suffix and output type (e.g., png, jpeg). -
ImageIOWriter
Constructs an ImageIO-based writer with the given name, default suffixes and output type (e.g., png, jpeg).
-
-
Method Details
-
saveBytes
public void saveBytes(int no, byte[] buf, int x, int y, int w, int h) throws loci.formats.FormatException, IOException - Throws:
loci.formats.FormatExceptionIOException- See Also:
-
savePlane
public void savePlane(int no, Object plane, int x, int y, int w, int h) throws loci.formats.FormatException, IOException - Specified by:
savePlanein interfaceloci.formats.IFormatWriter- Overrides:
savePlanein classloci.formats.FormatWriter- Throws:
loci.formats.FormatExceptionIOException- See Also:
-
getPixelTypes
- Specified by:
getPixelTypesin interfaceloci.formats.IFormatWriter- Overrides:
getPixelTypesin classloci.formats.FormatWriter
-
getNativeDataType
- Specified by:
getNativeDataTypein interfaceloci.formats.IFormatHandler- Overrides:
getNativeDataTypein classloci.formats.FormatHandler
-