Package loci.formats.out
Class PyramidOMETiffWriter
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatWriter
loci.formats.out.TiffWriter
loci.formats.out.OMETiffWriter
loci.formats.out.PyramidOMETiffWriter
- All Implemented Interfaces:
Closeable,AutoCloseable,ICompressedTileWriter,IFormatHandler,IFormatWriter,IMetadataConfigurable,IPyramidHandler
PyramidOMETiffWriter is the file format writer for pyramid OME-TIFF files.
-
Field Summary
Fields inherited from class loci.formats.out.OMETiffWriter
COMPANION_KEY, CREATOR_KEYFields inherited from class loci.formats.out.TiffWriter
canDetectBigTiff, checkParams, COMPRESSION_J2K, COMPRESSION_J2K_LOSSY, COMPRESSION_JPEG, COMPRESSION_LZW, COMPRESSION_UNCOMPRESSED, COMPRESSION_ZLIB, in, isBigTiff, tiffSaver, tileSizeX, tileSizeYFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisThisType(String name) Checks if a file matches the type of this format handler.protected IFDmakeIFD()voidSaves the given image to the specified series in the current file.Methods inherited from class loci.formats.out.OMETiffWriter
getCompanion, preserveCreator, saveBytes, saveCompressedBytes, setIdMethods inherited from class loci.formats.out.TiffWriter
canDoStacks, createInputStream, createTiffSaver, getCodec, getPixelTypes, getPlaneCount, getTileSizeX, getTileSizeY, prepareToWriteImage, saveBytes, setBigTiff, setCanDetectBigTiff, setTileSizeX, setTileSizeY, setupTiffSaverMethods inherited from class loci.formats.FormatWriter
changeOutputFile, checkParams, createOutputStream, getCodecOptions, getColorModel, getCompression, getCompressionTypes, getFramesPerSecond, getMetadataRetrieve, getPixelTypes, getPlaneCount, getResolution, getResolutionCount, getResolutions, getSamplesPerPixel, getSamplesPerPixel, getSeries, getSizeX, getSizeY, hasResolutions, isFullPlane, isInterleaved, isSupportedType, saveBytes, saveBytes, savePlane, savePlane, savePlane, seekToPlaneOffset, setCodecOptions, setColorModel, setCompression, setFramesPerSecond, setInterleaved, setMetadataRetrieve, setResolution, setResolutions, setSeries, setValidBitsPerPixel, setWriteSequentiallyMethods inherited from class loci.formats.FormatHandler
checkSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, setMetadataOptionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface loci.formats.IFormatHandler
getFormat, getNativeDataType, getSuffixesMethods inherited from interface loci.formats.IMetadataConfigurable
getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
-
Constructor Details
-
PyramidOMETiffWriter
public PyramidOMETiffWriter()
-
-
Method Details
-
isThisType
Description copied from class:FormatHandlerChecks if a file matches the type of this format handler. The default implementation checks filename suffixes against those known for this format.- Specified by:
isThisTypein interfaceIFormatHandler- Overrides:
isThisTypein classFormatHandler
-
makeIFD
- Overrides:
makeIFDin classTiffWriter- Throws:
FormatExceptionIOException
-
saveBytes
public void saveBytes(int no, byte[] buf, IFD ifd, int x, int y, int w, int h) throws FormatException, IOException Description copied from class:TiffWriterSaves the given image to the specified series in the current file. The IFD hashtable allows specification of TIFF parameters such as bit depth, compression and units. Use one IFD instance per plane.- Overrides:
saveBytesin classOMETiffWriter- Throws:
FormatExceptionIOException- See Also:
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOMETiffWriter- Throws:
IOException
-