libexiv2-28.dll Error in Windows 10 and 11: Image metadata library

An image application opens files but cannot initialize its metadata reader or writer. When Windows or the app names libexiv2-28.dll, record the earliest error and which operation triggers it. A known working sample helps narrow the failure to the app runtime, a feature setting, or the input.
What libexiv2-28.dll is used for
The MSYS2 UCRT64 Windows manifest lists libexiv2-28.dll in its Exiv2 package. The Exiv2 project reference describes the associated software. Use the package documented for the app and Windows architecture.
Isolate the first error
Try a small JPEG with known metadata and check whether the library or original file fails first. Note the app version and whether the issue followed an update or moving a portable copy. Use a test copy of files you want to keep.
Restore the matching runtime
Restore the matching Exiv2 package for DLL errors. If it loads, choose a supported file and test metadata changes on a copy.
For loader or entry-point errors, start with the publisher’s installer or approved app package. Microsoft’s app repair instructions explain where supported apps can be repaired or reset. Save your settings and data before either step. For portable apps, extract the full publisher archive in a new folder. Keep dependencies from the same release and toolchain, and avoid standalone DLL download sites.
Verify the repair
Reopen the sample and verify its expected metadata values. Restart the app and repeat the original workflow. If the issue returns, save the first error and the smallest test case that reproduces it for the app publisher.
For a related check, see the libopencv_imgcodecs-500.dll troubleshooting guide. Browse the DLL Errors & Fixes Library for other Windows errors.