xmlgraphics-commons 1.3

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$

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

Method Detail

writeImage

void writeImage(java.awt.image.RenderedImage image,
                ImageWriterParams params)
                throws java.io.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:
java.io.IOException - In case of an /IO problem

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException

xmlgraphics-commons 1.3

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