FileDocCategorySizeDatePackage
ImageTranscoder.javaAPI DocAndroid 1.5 API2493Wed May 06 22:41:54 BST 2009javax.imageio

ImageTranscoder

public interface ImageTranscoder
The ImageTranscoder interface is to be implemented by classes that perform image transcoding operations, that is, take images written in one format and write them in another format using read/write operations. Some image data can be lost in such processes. The ImageTranscoder interface converts metadata objects (IIOMetadata) of ImageReader to appropriate metadata object for ImageWriter.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public javax.imageio.metadata.IIOMetadataconvertImageMetadata(javax.imageio.metadata.IIOMetadata inData, javax.imageio.ImageTypeSpecifier imageType, javax.imageio.ImageWriteParam param)
Converts the specified IIOMetadata object using the specified ImageWriteParam for obtaining writer's metadata structure and ImageTypeSpecifier object for obtaining the layout and color information of the image for this metadata.

param
inData the IIOMetadata.
param
imageType the ImageTypeSpecifier.
param
param the ImageWriteParam.
return
the IIOMetadata, or null.

public javax.imageio.metadata.IIOMetadataconvertStreamMetadata(javax.imageio.metadata.IIOMetadata inData, javax.imageio.ImageWriteParam param)
Converts the specified IIOMetadata object using the specified ImageWriteParam for obtaining writer's metadata structure.

param
inData the IIOMetadata.
param
param the ImageWriteParam.
return
the IIOMetadata, or null.