|
xmlgraphics-commons 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.image.writer.imageio.ImageIOImageWriter
org.apache.xmlgraphics.image.writer.imageio.ImageIOTIFFImageWriter
public class ImageIOTIFFImageWriter
ImageWriter that encodes TIFF images using Image I/O.
Constructor Summary | |
---|---|
ImageIOTIFFImageWriter()
Main constructor. |
Method Summary | |
---|---|
static javax.imageio.metadata.IIOMetadataNode |
createMetadataField(int number,
java.lang.String name)
Utility function to create a base TIFFField node for TIFF metadata. |
static javax.imageio.metadata.IIOMetadataNode |
createRationalMetadataNode(int number,
java.lang.String name,
java.lang.String value)
Utility to create a TIFFRational metadata child node of a TIFFRationals node for TIFF metadata. |
static javax.imageio.metadata.IIOMetadataNode |
createShortMetadataNode(int number,
java.lang.String name,
java.lang.String value)
Utility to create a TIFFShort metadata child node of a TIFFShorts node for TIFF metadata. |
static javax.imageio.metadata.IIOMetadataNode |
createShortMetadataNode(int number,
java.lang.String name,
java.lang.String value,
java.lang.String description)
Utility to create a TIFFShort metadata child node of a TIFFShorts node for TIFF metadata. |
protected javax.imageio.metadata.IIOMetadata |
createStreamMetadata(javax.imageio.ImageWriter writer,
javax.imageio.ImageWriteParam writeParam,
ImageWriterParams params)
Creates the stream metadata for image. |
protected javax.imageio.metadata.IIOMetadata |
updateMetadata(java.awt.image.RenderedImage image,
javax.imageio.metadata.IIOMetadata meta,
ImageWriterParams params)
Updates the metadata information based on the parameters to this writer. |
Methods inherited from class org.apache.xmlgraphics.image.writer.imageio.ImageIOImageWriter |
---|
createMultiImageWriter, getChildNode, getDefaultWriteParam, getMIMEType, isFunctional, supportsMultiImageWriter, warningOccurred, writeImage, writeImage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageIOTIFFImageWriter()
Method Detail |
---|
protected javax.imageio.metadata.IIOMetadata updateMetadata(java.awt.image.RenderedImage image, javax.imageio.metadata.IIOMetadata meta, ImageWriterParams params)
updateMetadata
in class ImageIOImageWriter
image
- the current image being renderedmeta
- the metadataparams
- the parameters
public static final javax.imageio.metadata.IIOMetadataNode createShortMetadataNode(int number, java.lang.String name, java.lang.String value)
number
- value of the number attribute of the TIFFieldname
- value of the name attribute of the TIFFFieldvalue
- value of the value attribute of the TIFFShort
public static final javax.imageio.metadata.IIOMetadataNode createShortMetadataNode(int number, java.lang.String name, java.lang.String value, java.lang.String description)
number
- value of the number attribute of the TIFFieldname
- value of the name attribute of the TIFFFieldvalue
- value of the value attribute of the TIFFShortdescription
- value of the description attribute of the TIFFShort, ignored if null
public static final javax.imageio.metadata.IIOMetadataNode createRationalMetadataNode(int number, java.lang.String name, java.lang.String value)
number
- value of the number attribute of the TIFFieldname
- value of the name attribute of the TIFFFieldvalue
- value of the value attribute of the TIFFRational
public static final javax.imageio.metadata.IIOMetadataNode createMetadataField(int number, java.lang.String name)
number
- value of the number attribute of the TIFFieldname
- value of the name attribute of the TIFFField
protected javax.imageio.metadata.IIOMetadata createStreamMetadata(javax.imageio.ImageWriter writer, javax.imageio.ImageWriteParam writeParam, ImageWriterParams params)
createStreamMetadata
in class ImageIOImageWriter
writer
- the image writewriteParam
- the ImageIO write parametersparams
- the ImageWriter write parameters
|
xmlgraphics-commons 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |