Interface PNGTranscoder.WriteAdapter
-
- All Known Implementing Classes:
PNGTranscoderImageIOWriteAdapter,PNGTranscoderInternalCodecWriteAdapter
- Enclosing class:
- PNGTranscoder
public static interface PNGTranscoder.WriteAdapterThis interface is used byPNGTranscoderto write PNG images through different codecs.- Version:
- $Id: PNGTranscoder.java 1810083 2017-09-29 10:39:45Z ssteiner $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteImage(PNGTranscoder transcoder, java.awt.image.BufferedImage img, TranscoderOutput output)Writes the specified image to the specified output.
-
-
-
Method Detail
-
writeImage
void writeImage(PNGTranscoder transcoder, java.awt.image.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
-
-