Interface TIFFTranscoder.WriteAdapter
- All Known Implementing Classes:
TIFFTranscoderImageIOWriteAdapter
- Enclosing class:
- TIFFTranscoder
public static interface TIFFTranscoder.WriteAdapter
This interface is used by
TIFFTranscoder
to write TIFF images
through different codecs.- Version:
- $Id: TIFFTranscoder.java 1810083 2017-09-29 10:39:45Z ssteiner $
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeImage
(TIFFTranscoder transcoder, BufferedImage img, TranscoderOutput output) Writes the specified image to the specified output.
-
Method Details
-
writeImage
void writeImage(TIFFTranscoder 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
-