Class TIFFImageWriter.TIFFMultiImageWriter

    • Field Detail

      • out

        private java.io.OutputStream out
      • context

        private java.lang.Object context
    • Constructor Detail

      • TIFFMultiImageWriter

        public TIFFMultiImageWriter​(java.io.OutputStream out)
                             throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • writeImage

        public void writeImage​(java.awt.image.RenderedImage image,
                               ImageWriterParams params)
                        throws java.io.IOException
        Description copied from interface: MultiImageWriter
        Encodes an image and writes it to the image file.
        Specified by:
        writeImage in interface MultiImageWriter
        Parameters:
        image - the image to be encoded
        params - a parameters object to customize the encoding.
        Throws:
        java.io.IOException - In case of an /IO problem
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface MultiImageWriter
        Throws:
        java.io.IOException