Class PNGTranscoderImageIOWriteAdapter
- java.lang.Object
-
- org.apache.batik.ext.awt.image.codec.imageio.PNGTranscoderImageIOWriteAdapter
-
- All Implemented Interfaces:
PNGTranscoder.WriteAdapter
public class PNGTranscoderImageIOWriteAdapter extends java.lang.Object implements PNGTranscoder.WriteAdapter
This class is a helper toPNGTranscoder
that writes PNG images through the Image I/O API.- Version:
- $Id: PNGTranscoderImageIOWriteAdapter.java 1808978 2017-09-20 09:23:26Z ssteiner $
-
-
Constructor Summary
Constructors Constructor Description PNGTranscoderImageIOWriteAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeImage(PNGTranscoder transcoder, java.awt.image.BufferedImage img, TranscoderOutput output)
Writes the specified image to the specified output.
-
-
-
Method Detail
-
writeImage
public void writeImage(PNGTranscoder transcoder, java.awt.image.BufferedImage img, TranscoderOutput output) throws TranscoderException
Description copied from interface:PNGTranscoder.WriteAdapter
Writes the specified image to the specified output.- Specified by:
writeImage
in interfacePNGTranscoder.WriteAdapter
- Parameters:
transcoder
- the calling PNGTranscoderimg
- the image to writeoutput
- the output where to store the image- Throws:
TranscoderException
- See Also:
PNGTranscoder.WriteAdapter.writeImage( org.apache.batik.transcoder.image.PNGTranscoder, java.awt.image.BufferedImage, org.apache.batik.transcoder.TranscoderOutput)
-
-