|
xmlgraphics-commons 2.2 | |||||||||
| 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 IIOMetadataNode |
createMetadataField(int number,
String name)
Utility function to create a base TIFFField node for TIFF metadata. |
static IIOMetadataNode |
createRationalMetadataNode(int number,
String name,
String value)
Utility to create a TIFFRational metadata child node of a TIFFRationals node for TIFF metadata. |
static IIOMetadataNode |
createShortMetadataNode(int number,
String name,
String value)
Utility to create a TIFFShort metadata child node of a TIFFShorts node for TIFF metadata. |
static IIOMetadataNode |
createShortMetadataNode(int number,
String name,
String value,
String description)
Utility to create a TIFFShort metadata child node of a TIFFShorts node for TIFF metadata. |
protected IIOMetadata |
createStreamMetadata(ImageWriter writer,
ImageWriteParam writeParam,
ImageWriterParams params)
Creates the stream metadata for image. |
protected IIOMetadata |
updateMetadata(RenderedImage image,
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 IIOMetadata updateMetadata(RenderedImage image,
IIOMetadata meta,
ImageWriterParams params)
updateMetadata in class ImageIOImageWriterimage - the current image being renderedmeta - the metadataparams - the parameters
public static final IIOMetadataNode createShortMetadataNode(int number,
String name,
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 IIOMetadataNode createShortMetadataNode(int number,
String name,
String value,
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 IIOMetadataNode createRationalMetadataNode(int number,
String name,
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 IIOMetadataNode createMetadataField(int number,
String name)
number - value of the number attribute of the TIFFieldname - value of the name attribute of the TIFFField
protected IIOMetadata createStreamMetadata(ImageWriter writer,
ImageWriteParam writeParam,
ImageWriterParams params)
createStreamMetadata in class ImageIOImageWriterwriter - the image writewriteParam - the ImageIO write parametersparams - the ImageWriter write parameters
|
xmlgraphics-commons 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||