org.apache.batik.transcoder.image

Interface PNGTranscoder.WriteAdapter

public interface PNGTranscoder.WriteAdapter

This interface is used by PNGTranscoder to write PNG images through different codecs.
Method Summary
voidwriteImage(PNGTranscoder transcoder, BufferedImage img, TranscoderOutput output)
Writes the specified image to the specified output.

Method Detail

writeImage

public void writeImage(PNGTranscoder transcoder, BufferedImage img, TranscoderOutput output)
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

Copyright B) 2007 Apache Software Foundation. All Rights Reserved.