Class PNGTranscoderImageIOWriteAdapter
java.lang.Object
org.apache.batik.ext.awt.image.codec.imageio.PNGTranscoderImageIOWriteAdapter
- All Implemented Interfaces:
PNGTranscoder.WriteAdapter
This class is a helper to
PNGTranscoder that writes PNG images
through the Image I/O API.- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteImage(PNGTranscoder transcoder, BufferedImage img, TranscoderOutput output) Writes the specified image to the specified output.
-
Constructor Details
-
PNGTranscoderImageIOWriteAdapter
public PNGTranscoderImageIOWriteAdapter()
-
-
Method Details
-
writeImage
public void writeImage(PNGTranscoder transcoder, BufferedImage img, TranscoderOutput output) throws TranscoderException Description copied from interface:PNGTranscoder.WriteAdapterWrites the specified image to the specified output.- Specified by:
writeImagein interfacePNGTranscoder.WriteAdapter- Parameters:
transcoder- the calling PNGTranscoderimg- the image to writeoutput- the output where to store the image- Throws:
TranscoderException- See Also:
-