org.apache.batik.ext.awt.image.spi
Interface ImageWriter

All Known Implementing Classes:
ImageIOImageWriter, ImageIOJPEGImageWriter, ImageIOPNGImageWriter, ImageIOTIFFImageWriter, JPEGImageWriter, PNGImageWriter

public interface ImageWriter

Interface which allows image library independent image writing.


Method Summary
 String getMIMEType()
           
 void writeImage(RenderedImage image, OutputStream out)
           
 void writeImage(RenderedImage image, OutputStream out, ImageWriterParams params)
           
 

Method Detail

writeImage

void writeImage(RenderedImage image,
                OutputStream out)
                throws IOException
Throws:
IOException

writeImage

void writeImage(RenderedImage image,
                OutputStream out,
                ImageWriterParams params)
                throws IOException
Throws:
IOException

getMIMEType

String getMIMEType()


Copyright © 2008 Apache Software Foundation. All Rights Reserved.