yuv.dll Error in Windows 10 and 11: Raw YUV image import

If ImageMagick reports yuv.dll while handling raw YUV pixel data, check the executable and test a small known-good input. An error on one file can also reflect an unsupported format variant or a setting used by the original application.
Find the affected installation
The MSYS2 UCRT64 ImageMagick manifest lists this DLL in its coder directory. Other ImageMagick builds can package formats differently. Record the exact module path and first error line. On the same Windows console where the error occurred, run where.exe magick and magick -version to identify the active build.
Test raw yuv image import
Try a raw sample with documented size and chroma subsampling. Use magick -list format to check whether the format or generated source is available and supports the operation you need. Try a familiar control image with the same installation.
Check the chroma subsampling and row size if decoding works but the picture is skewed.
Repair the matching build
If the coder is missing or fails to load for the known-good test, use the installer’s repair option or reinstall the full package from its trusted distributor. For MSYS2 UCRT64, keep the package and its dependencies in the same environment and update them together using the package manager. Avoid downloading or copying an individual DLL.
Verify the fix
Open a fresh terminal, verify the version and rerun the same test. Compare the luma ramp and color regions with the expected frame. If it still fails, give the maintainer the module path, version, operation and first error line.
Check ImageMagick’s format and delegate notes. For a related failure, see the related DLL guide and the DLL library.