Class OMEZarrImageWriter
java.lang.Object
qupath.lib.images.writers.ome.zarr.OMEZarrImageWriter
- All Implemented Interfaces:
- ImageWriter<BufferedImage>
An 
ImageWriter for writing OME-zarr files. Use an OMEZarrWriter if
 you need greater control.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet further details of the writer, which may be displayed to a user.Get the file extensions used by the image writer.Get the class of supported images.getName()Get the name of the image writer.booleansupportsImageType(ImageServer<BufferedImage> server) Test whether images provided by a specified ImageServer can be successfully written.booleanReturns true if the writer is capable of storing pixel size information.booleanReturns true if the writer is capable of writing pyramidal images.booleanCheck if writer can handle RGB (it probably can...).booleanCheck if writer can handle multiple timepoints.booleanCheck if writer can handle multiple z-slices.voidwriteImage(BufferedImage img, OutputStream stream) Write a full image to a specified output stream.voidwriteImage(BufferedImage img, String pathOutput) Write a full image to a specified path.voidwriteImage(ImageServer<BufferedImage> server, OutputStream stream) Write a full image to a specified output stream.voidwriteImage(ImageServer<BufferedImage> server, String pathOutput) Write a full image to a specified path.voidwriteImage(ImageServer<BufferedImage> server, RegionRequest region, OutputStream stream) Write an image region to a specified output stream.voidwriteImage(ImageServer<BufferedImage> server, RegionRequest region, String pathOutput) Write an image region to a specified path.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface qupath.lib.images.writers.ImageWritergetDefaultExtension
- 
Constructor Details- 
OMEZarrImageWriterpublic OMEZarrImageWriter()
 
- 
- 
Method Details- 
getNameDescription copied from interface:ImageWriterGet the name of the image writer.- Specified by:
- getNamein interface- ImageWriter<BufferedImage>
- Returns:
 
- 
getExtensionsDescription copied from interface:ImageWriterGet the file extensions used by the image writer. These are returned without the leading 'dot'. In the case where multiple extensions are associated with a file type (e.g. "jpg", "jpeg", "tif", "tiff") the preferred should be returned first;- Specified by:
- getExtensionsin interface- ImageWriter<BufferedImage>
- Returns:
 
- 
supportsTpublic boolean supportsT()Description copied from interface:ImageWriterCheck if writer can handle multiple timepoints.- Specified by:
- supportsTin interface- ImageWriter<BufferedImage>
- Returns:
 
- 
supportsZpublic boolean supportsZ()Description copied from interface:ImageWriterCheck if writer can handle multiple z-slices.- Specified by:
- supportsZin interface- ImageWriter<BufferedImage>
- Returns:
 
- 
supportsRGBpublic boolean supportsRGB()Description copied from interface:ImageWriterCheck if writer can handle RGB (it probably can...).- Specified by:
- supportsRGBin interface- ImageWriter<BufferedImage>
- Returns:
 
- 
supportsImageTypeDescription copied from interface:ImageWriterTest whether images provided by a specified ImageServer can be successfully written.Reasons why it might not be are the number of channels and/or bit-depth. - Specified by:
- supportsImageTypein interface- ImageWriter<BufferedImage>
- Parameters:
- server-
- Returns:
 
- 
supportsPyramidalpublic boolean supportsPyramidal()Description copied from interface:ImageWriterReturns true if the writer is capable of writing pyramidal images.- Specified by:
- supportsPyramidalin interface- ImageWriter<BufferedImage>
- Returns:
 
- 
supportsPixelSizepublic boolean supportsPixelSize()Description copied from interface:ImageWriterReturns true if the writer is capable of storing pixel size information.- Specified by:
- supportsPixelSizein interface- ImageWriter<BufferedImage>
- Returns:
 
- 
getDetailsDescription copied from interface:ImageWriterGet further details of the writer, which may be displayed to a user.- Specified by:
- getDetailsin interface- ImageWriter<BufferedImage>
- Returns:
 
- 
getImageClassDescription copied from interface:ImageWriterGet the class of supported images.- Specified by:
- getImageClassin interface- ImageWriter<BufferedImage>
- Returns:
- ImageServer.getImageClass()
 
- 
writeImagepublic void writeImage(ImageServer<BufferedImage> server, RegionRequest region, String pathOutput) throws IOException Description copied from interface:ImageWriterWrite an image region to a specified path.- Specified by:
- writeImagein interface- ImageWriter<BufferedImage>
- Parameters:
- server-
- region-
- pathOutput-
- Throws:
- IOException
 
- 
writeImageDescription copied from interface:ImageWriterWrite a full image to a specified path.- Specified by:
- writeImagein interface- ImageWriter<BufferedImage>
- Parameters:
- img-
- pathOutput-
- Throws:
- IOException
 
- 
writeImageDescription copied from interface:ImageWriterWrite a full image to a specified path.- Specified by:
- writeImagein interface- ImageWriter<BufferedImage>
- Parameters:
- server-
- pathOutput-
- Throws:
- IOException
 
- 
writeImagepublic void writeImage(ImageServer<BufferedImage> server, RegionRequest region, OutputStream stream) throws IOException Description copied from interface:ImageWriterWrite an image region to a specified output stream.- Specified by:
- writeImagein interface- ImageWriter<BufferedImage>
- Parameters:
- server-
- region-
- stream-
- Throws:
- IOException
 
- 
writeImageDescription copied from interface:ImageWriterWrite a full image to a specified output stream.- Specified by:
- writeImagein interface- ImageWriter<BufferedImage>
- Parameters:
- img-
- stream-
- Throws:
- IOException
 
- 
writeImageDescription copied from interface:ImageWriterWrite a full image to a specified output stream.- Specified by:
- writeImagein interface- ImageWriter<BufferedImage>
- Parameters:
- server-
- stream-
- Throws:
- IOException
 
 
-