| Previous | Next |
| WINCODEC_ERR_IMAGESIZEOUTOFRANGE | WINCODEC_ERR_BADIMAGE |
WINCODEC_ERR_TOOMUCHMETADATA
WINCODEC_ERR_TOOMUCHMETADATA means that WIC cannot write the requested metadata into the target bitmap or container. The target format may have a size limit, lack enough reserved metadata space for a fast update, or reject a combination of metadata blocks.
What to check
- Measure the metadata being copied or added instead of assuming that a source file's metadata always fits a destination format.
- When using fast metadata encoding, remember that it updates a padded region without fully re-encoding the image; insufficient space requires a different strategy.
- Remove nonessential metadata or re-encode the image when preserving all blocks is not required.
Do not silently drop legal or compliance metadata without making that policy explicit.
Microsoft: WIC metadata overview
Looking for a different code? Search another status or error code.