Class Tiff
Writes a stack to the filesystem as a TIFF using the Bioformats library.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected loci.formats.IFormatWriter
Creates or gets an instance ofIFormatWriter
which dictates the file format to use for writing.fileFormat
(StackWriteOptions writeOptions) The file format that will be written by the generator.void
writeStack
(Stack stack, Path filePath, StackWriteOptions options) Writes a stack to the filesystem at a particular path.Methods inherited from class org.anchoranalysis.image.io.bean.stack.writer.StackWriter
fileFormatWarnUnexpected, writeStackWithExtension
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Tiff
public Tiff()Default constructor.
-
-
Method Details
-
writeStack
public void writeStack(Stack stack, Path filePath, StackWriteOptions options) throws ImageIOException Description copied from class:StackWriter
Writes a stack to the filesystem at a particular path.- Overrides:
writeStack
in classBioformatsWriter
- Parameters:
stack
- the stack to write.filePath
- the path to write the file to.options
- options which may influence how a raster is written.- Throws:
ImageIOException
- if anything goes wrong while writing.
-
fileFormat
Description copied from class:StackWriter
The file format that will be written by the generator.- Specified by:
fileFormat
in classStackWriter
- Parameters:
writeOptions
- options which may influence how a raster is written.- Returns:
- the image file-format.
-
createWriter
Description copied from class:BioformatsWriter
Creates or gets an instance ofIFormatWriter
which dictates the file format to use for writing.- Specified by:
createWriter
in classBioformatsWriter
- Returns:
- a newly created writer.
- Throws:
ImageIOException
- if a writer cannot be created successfully.
-