Site icon EfmSoft

What does HRESULT 0x88982F8D (WINCODEC_ERR_DUPLICATEMETADATAPRESENT) mean?

 
Previous Next
WINCODEC_ERR_INSUFFICIENTBUFFER WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE

WINCODEC_ERR_DUPLICATEMETADATAPRESENT

Metadata containers can legally hold repeated block types

WINCODEC_ERR_DUPLICATEMETADATAPRESENT is raised when duplicate metadata prevents WIC from selecting a unique item or block for the requested operation. Image containers can contain several metadata readers of the same broad format, and query paths may need an index or a more specific schema expression to distinguish them. A generic EXIF, XMP, or IFD request can therefore be ambiguous even though each block is individually parseable.

Deduplicating by deleting the first block is risky because repeated blocks can carry different namespaces or frame-level data. Enumerate the metadata block reader, inspect each handler’s format and location, then choose the target defined by the container and application policy. Re-encoding can also consolidate metadata, but it may discard unknown blocks unless they are deliberately copied.

Resolving ambiguity safely

References


Looking for a different code? Search another status or error code.

Exit mobile version