|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImageTranscoder
An ImageTranscoder translates IIOMetadata objects provided by an ImageReader into corresponding IIOMetadata objects that can be understood by a given ImageWriter. Usually an ImageWriter will implement ImageTranscoder directly in which case the conversion methods will return IIOMetadata objects appropriate for this ImageWriter. Independent transcoders are also allowed; they must have knowledge of both the source IIOMetadata provided by the reader and the returned IIOMetadata expected by the writer.
| 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. |
| Method Detail |
|---|
IIOMetadata convertImageMetadata(IIOMetadata inData,
ImageTypeSpecifier imageType,
ImageWriteParam param)
inData - the metadata coming from an image readerimageType - the output image type of the writerparam - the image writing parameters or null
IllegalArgumentException - if either inData or imageType
is null
IIOMetadata convertStreamMetadata(IIOMetadata inData,
ImageWriteParam param)
inData - the metadata coming from an input image streamparam - the image writing parameters or null
IllegalArgumentException - if inData is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||