Interface PNGTranscoder.WriteAdapter
- All Known Implementing Classes:
PNGTranscoderImageIOWriteAdapter
,PNGTranscoderInternalCodecWriteAdapter
- Enclosing class:
- PNGTranscoder
public static interface PNGTranscoder.WriteAdapter
This interface is used by
PNGTranscoder
to write PNG images
through different codecs.-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeImage
(PNGTranscoder transcoder, BufferedImage img, TranscoderOutput output) Writes the specified image to the specified output.
-
Method Details
-
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
-