Class BufferedImageWriter

java.lang.Object
loci.formats.WriterWrapper
loci.formats.gui.BufferedImageWriter
All Implemented Interfaces:
Closeable, AutoCloseable, loci.formats.ICompressedTileWriter, loci.formats.IFormatHandler, loci.formats.IFormatWriter, loci.formats.IMetadataConfigurable, loci.formats.IPyramidHandler

public class BufferedImageWriter extends loci.formats.WriterWrapper
A writer wrapper for writing image planes from BufferedImage objects.
  • Field Summary

    Fields inherited from class loci.formats.WriterWrapper

    writer
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a BufferedImageWriter around a new image writer.
    Constructs a BufferedImageWriter with the given writer.
  • Method Summary

    Modifier and Type
    Method
    Description
    Converts the given writer into a BufferedImageWriter, wrapping if needed.
    void
    saveImage(int no, BufferedImage image)
    Saves the given BufferedImage to the current file.
    void
    saveImage(int no, BufferedImage image, int x, int y, int w, int h)
    Saves the given BufferedImage to the current file.
    static byte[]
     

    Methods inherited from class loci.formats.WriterWrapper

    canDoStacks, changeOutputFile, close, duplicate, getCodec, getCodecOptions, getColorModel, getCompression, getCompressionTypes, getFormat, getFramesPerSecond, getMetadataOptions, getMetadataRetrieve, getNativeDataType, getPixelTypes, getPixelTypes, getResolution, getResolutionCount, getResolutions, getSeries, getSuffixes, getSupportedMetadataLevels, getTileSizeX, getTileSizeY, getWriter, isInterleaved, isSupportedType, isThisType, saveBytes, saveBytes, saveBytes, saveCompressedBytes, savePlane, savePlane, savePlane, setCodecOptions, setColorModel, setCompression, setFramesPerSecond, setId, setInterleaved, setMetadataOptions, setMetadataRetrieve, setResolution, setResolutions, setSeries, setTileSizeX, setTileSizeY, setValidBitsPerPixel, setWriteSequentially, unwrap, unwrap, unwrap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BufferedImageWriter

      public BufferedImageWriter()
      Constructs a BufferedImageWriter around a new image writer.
    • BufferedImageWriter

      public BufferedImageWriter(loci.formats.IFormatWriter r)
      Constructs a BufferedImageWriter with the given writer.
  • Method Details