javax.imageio
public interface ImageTranscoder
Method Summary | |
---|---|
IIOMetadata | convertImageMetadata(IIOMetadata inData, ImageTypeSpecifier imageType, ImageWriteParam param)
Converts IIOMetadata from an input reader format, returning an
IIOMetadata suitable for use by an image writer.
|
IIOMetadata | convertStreamMetadata(IIOMetadata inData, ImageWriteParam param)
Converts IIOMetadata from an input stream format, returning an
IIOMetadata suitable for use by an image writer.
|
Parameters: inData the metadata coming from an image reader imageType the output image type of the writer param the image writing parameters or null
Returns: the converted metadata that should be used by the image writer, or null if this ImageTranscoder has no knowledge of the input metadata
Throws: IllegalArgumentException if either inData or imageType is null
Parameters: inData the metadata coming from an input image stream param the image writing parameters or null
Returns: the converted metadata that should be used by the image writer, or null if this ImageTranscoder has no knowledge of the input metadata
Throws: IllegalArgumentException if inData is null