xmlgraphics-commons 2.1

org.apache.xmlgraphics.image.writer
Interface MultiImageWriter


public interface MultiImageWriter

Interface which allows writing multiple images into one image file if the output format supports this feature.

Version:
$Id: MultiImageWriter.java 1345683 2012-06-03 14:50:33Z gadams $

Method Summary
 void close()
           
 void writeImage(RenderedImage image, ImageWriterParams params)
          Encodes an image and writes it to the image file.
 

Method Detail

writeImage

void writeImage(RenderedImage image,
                ImageWriterParams params)
                throws IOException
Encodes an image and writes it to the image file.

Parameters:
image - the image to be encoded
params - a parameters object to customize the encoding.
Throws:
IOException - In case of an /IO problem

close

void close()
           throws IOException
Throws:
IOException

xmlgraphics-commons 2.1

Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.