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.IFormatWriterCreates or gets an instance ofIFormatWriterwhich dictates the file format to use for writing.fileFormat(StackWriteOptions writeOptions) The file format that will be written by the generator.voidwriteStack(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, writeStackWithExtensionMethods 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:StackWriterWrites a stack to the filesystem at a particular path.- Overrides:
writeStackin 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:StackWriterThe file format that will be written by the generator.- Specified by:
fileFormatin classStackWriter- Parameters:
writeOptions- options which may influence how a raster is written.- Returns:
- the image file-format.
-
createWriter
Description copied from class:BioformatsWriterCreates or gets an instance ofIFormatWriterwhich dictates the file format to use for writing.- Specified by:
createWriterin classBioformatsWriter- Returns:
- a newly created writer.
- Throws:
ImageIOException- if a writer cannot be created successfully.
-