org.apache.batik.ext.awt.image.codec.imageio
Class TIFFTranscoderImageIOWriteAdapter

java.lang.Object
  extended by org.apache.batik.ext.awt.image.codec.imageio.TIFFTranscoderImageIOWriteAdapter
All Implemented Interfaces:
TIFFTranscoder.WriteAdapter

public class TIFFTranscoderImageIOWriteAdapter
extends Object
implements TIFFTranscoder.WriteAdapter

This class is a helper to TIFFTranscoder that writes TIFF images through the Image I/O API.


Constructor Summary
TIFFTranscoderImageIOWriteAdapter()
           
 
Method Summary
 void writeImage(TIFFTranscoder transcoder, BufferedImage img, TranscoderOutput output)
          Writes the specified image to the specified output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIFFTranscoderImageIOWriteAdapter

public TIFFTranscoderImageIOWriteAdapter()
Method Detail

writeImage

public void writeImage(TIFFTranscoder transcoder,
                       BufferedImage img,
                       TranscoderOutput output)
                throws TranscoderException
Description copied from interface: TIFFTranscoder.WriteAdapter
Writes the specified image to the specified output.

Specified by:
writeImage in interface TIFFTranscoder.WriteAdapter
Parameters:
transcoder - the calling PNGTranscoder
img - the image to write
output - the output where to store the image
Throws:
TranscoderException
See Also:
TIFFTranscoder.WriteAdapter.writeImage(TIFFTranscoder, java.awt.image.BufferedImage, org.apache.batik.transcoder.TranscoderOutput)


Copyright © 2008 Apache Software Foundation. All Rights Reserved.