org.apache.batik.ext.awt.image.codec.png
Class PNGTranscoderInternalCodecWriteAdapter
java.lang.Object
org.apache.batik.ext.awt.image.codec.png.PNGTranscoderInternalCodecWriteAdapter
- All Implemented Interfaces:
- PNGTranscoder.WriteAdapter
public class PNGTranscoderInternalCodecWriteAdapter
- extends Object
- implements PNGTranscoder.WriteAdapter
This class is a helper to PNGTranscoder
that writes PNG images
through the internal PNG codec.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PNGTranscoderInternalCodecWriteAdapter
public PNGTranscoderInternalCodecWriteAdapter()
writeImage
public void writeImage(PNGTranscoder transcoder,
BufferedImage img,
TranscoderOutput output)
throws TranscoderException
- Description copied from interface:
PNGTranscoder.WriteAdapter
- Writes the specified image to the specified output.
- Specified by:
writeImage
in interface PNGTranscoder.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)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.