cmyk.dll Error in Windows 10 and 11: Raw CMYK raster import

If ImageMagick reports cmyk.dll while handling raw cyan-magenta-yellow-black channel 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 cmyk raster import
Try a local four-channel sample with known raster settings. 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.
Match the sample’s width, height and bit depth. An unsuitable color profile can make a healthy coder’s output look wrong.
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. Confirm the dimensions and that the expected ink patches are distinguishable. 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.