Interface PNGTranscoder.WriteAdapter

    • Method Detail

      • writeImage

        void writeImage​(PNGTranscoder transcoder,
                        java.awt.image.BufferedImage img,
                        TranscoderOutput output)
                 throws TranscoderException
        Writes the specified image to the specified output.
        Parameters:
        transcoder - the calling PNGTranscoder
        img - the image to write
        output - the output where to store the image
        Throws:
        TranscoderException - if an error occured while storing the image