Class OMETiffWriter

java.lang.Object
qupath.lib.images.writers.ome.OMETiffWriter
All Implemented Interfaces:
qupath.lib.images.writers.ImageWriter<BufferedImage>

public class OMETiffWriter extends Object implements qupath.lib.images.writers.ImageWriter<BufferedImage>
ImageWriter for writing OME-TIFF images. For greater control, see OMEPyramidWriter.
  • Constructor Details

    • OMETiffWriter

      public OMETiffWriter()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
    • getExtensions

      public Collection<String> getExtensions()
      Specified by:
      getExtensions in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
    • supportsT

      public boolean supportsT()
      Specified by:
      supportsT in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
    • supportsZ

      public boolean supportsZ()
      Specified by:
      supportsZ in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
    • supportsRGB

      public boolean supportsRGB()
      Specified by:
      supportsRGB in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
    • supportsImageType

      public boolean supportsImageType(qupath.lib.images.servers.ImageServer<BufferedImage> server)
      Specified by:
      supportsImageType in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
    • supportsPyramidal

      public boolean supportsPyramidal()
      Specified by:
      supportsPyramidal in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
    • supportsPixelSize

      public boolean supportsPixelSize()
      Specified by:
      supportsPixelSize in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
    • getDetails

      public String getDetails()
      Specified by:
      getDetails in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
    • getImageClass

      public Class<BufferedImage> getImageClass()
      Specified by:
      getImageClass in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
    • writeImage

      public void writeImage(qupath.lib.images.servers.ImageServer<BufferedImage> server, qupath.lib.regions.RegionRequest region, String pathOutput) throws IOException
      Specified by:
      writeImage in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
      Throws:
      IOException
    • writeImage

      public void writeImage(BufferedImage img, String pathOutput) throws IOException
      Specified by:
      writeImage in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
      Throws:
      IOException
    • writeImage

      public void writeImage(qupath.lib.images.servers.ImageServer<BufferedImage> server, String pathOutput) throws IOException
      Specified by:
      writeImage in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
      Throws:
      IOException
    • writeImage

      public void writeImage(qupath.lib.images.servers.ImageServer<BufferedImage> server, qupath.lib.regions.RegionRequest region, OutputStream stream) throws IOException
      Write OME-TIFF image to an output stream. Note that this must be able to write the image in-memory first, and therefore is not suitable for very large images.
      Specified by:
      writeImage in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
      Throws:
      IOException
    • writeImage

      public void writeImage(BufferedImage img, OutputStream stream) throws IOException
      Specified by:
      writeImage in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
      Throws:
      IOException
    • writeImage

      public void writeImage(qupath.lib.images.servers.ImageServer<BufferedImage> server, OutputStream stream) throws IOException
      Write OME-TIFF image to an output stream. Note that this must be able to write the image in-memory first, and therefore is not suitable for very large images.
      Specified by:
      writeImage in interface qupath.lib.images.writers.ImageWriter<BufferedImage>
      Throws:
      IOException