xmlgraphics-commons 1.2

org.apache.xmlgraphics.image.writer.internal
Class TIFFImageWriter

java.lang.Object
  |
  +--org.apache.xmlgraphics.image.writer.AbstractImageWriter
        |
        +--org.apache.xmlgraphics.image.writer.internal.TIFFImageWriter
All Implemented Interfaces:
ImageWriter

public class TIFFImageWriter
extends AbstractImageWriter

ImageWriter implementation that uses the internal TIFF codec to write TIFF files.

Version:
$Id$

Constructor Summary
TIFFImageWriter()
           
 
Method Summary
 MultiImageWriter createMultiImageWriter(java.io.OutputStream out)
          Creates a MultiImageWriter instance that lets you put multiple pages into a single file if the format supports it.
 java.lang.String getMIMEType()
           
 boolean supportsMultiImageWriter()
           
 void writeImage(java.awt.image.RenderedImage image, java.io.OutputStream out)
          Encodes an image and writes it to an OutputStream.
 void writeImage(java.awt.image.RenderedImage image, java.io.OutputStream out, ImageWriterParams params)
          Encodes an image and writes it to an OutputStream.
 
Methods inherited from class org.apache.xmlgraphics.image.writer.AbstractImageWriter
isFunctional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIFFImageWriter

public TIFFImageWriter()
Method Detail

writeImage

public void writeImage(java.awt.image.RenderedImage image,
                       java.io.OutputStream out)
                throws java.io.IOException
Description copied from interface: ImageWriter
Encodes an image and writes it to an OutputStream.
See Also:
ImageWriter.writeImage(java.awt.image.RenderedImage, java.io.OutputStream)

writeImage

public void writeImage(java.awt.image.RenderedImage image,
                       java.io.OutputStream out,
                       ImageWriterParams params)
                throws java.io.IOException
Description copied from interface: ImageWriter
Encodes an image and writes it to an OutputStream.
See Also:
ImageWriter.writeImage(java.awt.image.RenderedImage, java.io.OutputStream, ImageWriterParams)

getMIMEType

public java.lang.String getMIMEType()
See Also:
ImageWriter.getMIMEType()

createMultiImageWriter

public MultiImageWriter createMultiImageWriter(java.io.OutputStream out)
                                        throws java.io.IOException
Description copied from interface: ImageWriter
Creates a MultiImageWriter instance that lets you put multiple pages into a single file if the format supports it.
Overrides:
createMultiImageWriter in class AbstractImageWriter
See Also:
ImageWriter.createMultiImageWriter( java.io.OutputStream)

supportsMultiImageWriter

public boolean supportsMultiImageWriter()
Overrides:
supportsMultiImageWriter in class AbstractImageWriter
See Also:
ImageWriter.supportsMultiImageWriter()

xmlgraphics-commons 1.2

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.