public class Tiff extends BioformatsWriter
Writes a stack to the filesystem as a TIFF using the Bioformats library.
Author:
Owen Feehan
  • 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 class BioformatsWriter
      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

      public ImageFileFormat fileFormat(StackWriteOptions writeOptions)
      Description copied from class: StackWriter
      The file format that will be written by the generator.
      Specified by:
      fileFormat in class StackWriter
      Parameters:
      writeOptions - options which may influence how a raster is written.
      Returns:
      the image file-format.
    • createWriter

      protected loci.formats.IFormatWriter createWriter() throws ImageIOException
      Description copied from class: BioformatsWriter
      Creates or gets an instance of IFormatWriter which dictates the file format to use for writing.
      Specified by:
      createWriter in class BioformatsWriter
      Returns:
      a newly created writer.
      Throws:
      ImageIOException - if a writer cannot be created successfully.