org.apache.batik.transcoder.image
Interface PNGTranscoder.WriteAdapter
- Enclosing class:
- PNGTranscoder
public static interface PNGTranscoder.WriteAdapter
This interface is used by PNGTranscoder to write PNG images
through different codecs.
- Version:
- $Id: PNGTranscoder.java 1733416 2016-03-03 07:07:13Z gadams $
writeImage
void writeImage(PNGTranscoder transcoder,
BufferedImage img,
TranscoderOutput output)
throws TranscoderException
- Writes the specified image to the specified output.
- Parameters:
transcoder - the calling PNGTranscoderimg - the image to writeoutput - the output where to store the image
- Throws:
TranscoderException - if an error occured while storing the image
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.