public class ImageIOTIFFImageWriter extends ImageIOImageWriter
| Constructor and Description |
|---|
ImageIOTIFFImageWriter()
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
createMultiImageWriter, getChildNode, getDefaultWriteParam, getMIMEType, isFunctional, supportsMultiImageWriter, warningOccurred, writeImage, writeImageprotected javax.imageio.metadata.IIOMetadata updateMetadata(java.awt.image.RenderedImage image,
javax.imageio.metadata.IIOMetadata meta,
ImageWriterParams params)
updateMetadata in class ImageIOImageWriterimage - the current image being renderedmeta - the metadataparams - the parameterspublic 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 TIFFShortpublic 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 nullpublic 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 TIFFRationalpublic 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 TIFFFieldprotected javax.imageio.metadata.IIOMetadata createStreamMetadata(javax.imageio.ImageWriter writer,
javax.imageio.ImageWriteParam writeParam,
ImageWriterParams params)
createStreamMetadata in class ImageIOImageWriterwriter - the image writewriteParam - the ImageIO write parametersparams - the ImageWriter write parametersCopyright 1999-2025 The Apache Software Foundation. All Rights Reserved.