extending fm5







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 elements
keyword extends
extend relationship?38D814
EXTENDING
EXTENDING
Q190987 Extended Stored Procedures
using extended help?818AFE
extending fm4
apps fm5
fm5 Dedication
$ extend
The Wolverine 2013 EXTENDED 1080p BluRay x264 SPARKS
PSTL Extend siec dystr
Canon Extender Ef 1 4X Repair Manual
HONDA 2006 2007 Ridgeline Bed Extender User s Information
keyword extends
CD Club Promo Only Extended December (24 12 2014) (9 CD) Tracklista
Extended

więcej podobnych podstron