public class PNGTranscoderInternalCodecWriteAdapter extends java.lang.Object implements PNGTranscoder.WriteAdapter
PNGTranscoder that writes PNG images
through the internal PNG codec.| Constructor and Description |
|---|
PNGTranscoderInternalCodecWriteAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
writeImage(PNGTranscoder transcoder,
java.awt.image.BufferedImage img,
TranscoderOutput output)
Writes the specified image to the specified output.
|
public PNGTranscoderInternalCodecWriteAdapter()
public void writeImage(PNGTranscoder transcoder, java.awt.image.BufferedImage img, TranscoderOutput output) throws TranscoderException
PNGTranscoder.WriteAdapterwriteImage in interface PNGTranscoder.WriteAdaptertranscoder - the calling PNGTranscoderimg - the image to writeoutput - the output where to store the imageTranscoderExceptionPNGTranscoder.WriteAdapter.writeImage(
org.apache.batik.transcoder.image.PNGTranscoder, java.awt.image.BufferedImage,
org.apache.batik.transcoder.TranscoderOutput)Copyright © 2022 Apache Software Foundation. All Rights Reserved.