|
Préférences
Moteurs de recherche
|
|||||||
JavaTM 2 Platform Std. Ed. v1.4.2
javax.imageio
|
Method Summary | |
IIOMetadata |
convertImageMetadata(IIOMetadata inData,
ImageTypeSpecifier imageType,
ImageWriteParam param)
Returns an IIOMetadata object that may be used for
encoding and optionally modified using its document interfaces
or other interfaces specific to the writer plug-in that will be
used for encoding. |
IIOMetadata |
convertStreamMetadata(IIOMetadata inData,
ImageWriteParam param)
Returns an IIOMetadata object that may be used for
encoding and optionally modified using its document interfaces
or other interfaces specific to the writer plug-in that will be
used for encoding. |
Method Detail |
public IIOMetadata convertStreamMetadata(IIOMetadata inData, ImageWriteParam param)
IIOMetadata
object that may be used for
encoding and optionally modified using its document interfaces
or other interfaces specific to the writer plug-in that will be
used for encoding.
An optional ImageWriteParam
may be supplied
for cases where it may affect the structure of the stream
metadata.
If the supplied ImageWriteParam
contains
optional setting values not understood by this writer or
transcoder, they will be ignored.
inData
- an IIOMetadata
object representing
stream metadata, used to initialize the state of the returned
object.param
- an ImageWriteParam
that will be used to
encode the image, or null
.
IIOMetadata
object, or
null
if the plug-in does not provide metadata
encoding capabilities.
IllegalArgumentException
- if inData
is
null
.public IIOMetadata convertImageMetadata(IIOMetadata inData, ImageTypeSpecifier imageType, ImageWriteParam param)
IIOMetadata
object that may be used for
encoding and optionally modified using its document interfaces
or other interfaces specific to the writer plug-in that will be
used for encoding.
An optional ImageWriteParam
may be supplied
for cases where it may affect the structure of the image
metadata.
If the supplied ImageWriteParam
contains
optional setting values not understood by this writer or
transcoder, they will be ignored.
inData
- an IIOMetadata
object representing
image metadata, used to initialize the state of the returned
object.imageType
- an ImageTypeSpecifier
indicating
the layout and color information of the image with which the
metadata will be associated.param
- an ImageWriteParam
that will be used to
encode the image, or null
.
IIOMetadata
object,
or null
if the plug-in does not provide
metadata encoding capabilities.
IllegalArgumentException
- if either of
inData
or imageType
is
null
.