Java Image I/O API Guide: 4 - Writing Image I/O Plug-ins
Documentation Contents
CONTENTS | PREV
| NEXT
4.5 Writing Transcoder Plug-ins
A transcoder plug-in consists of an ImageTranscoderSpi, which performs the same functions as do the Spi classes for other plug-ins, and an object that implements the ImageTranscoder interface:
IIOMetadata convertStreamMetadata(IIOMetadata inData,
ImageWriteParam param);
IIOMetadata convertImageMetadata(IIOMetadata inData,
ImageTypeSpecifier imageType,
ImageWriteParam param);
The ImageTranscoder may use the standard interfaces to unpack the incoming metadata, or it may make use of interfaces that are specific to the actual object at hand. For example, it could access the keywords and values instance variables of the MyFormatMetadata class defined above; these were made public, but not documented, precisely in order to allow a transcoder plug-in developer to access them without having to go through a DOM representation.
CONTENTS | PREV
| NEXT
Copyright © 1995-2010 Sun Microsystems, Inc. All Rights Reserved. Please send comments using this Feedback page.
Java Technology
Wyszukiwarka
Podobne podstrony:
option extended valid elementskeyword extendsextend relationship?38D814EXTENDINGEXTENDINGQ190987 Extended Stored Proceduresusing extended help?818AFEextending fm4apps fm5fm5 Dedication$ extendThe Wolverine 2013 EXTENDED 1080p BluRay x264 SPARKSPSTL Extend siec dystrCanon Extender Ef 1 4X Repair ManualHONDA 2006 2007 Ridgeline Bed Extender User s Informationkeyword extendsCD Club Promo Only Extended December (24 12 2014) (9 CD) TracklistaExtendedwięcej podobnych podstron