You'll notice
Claude Code now gives specific error messages for CMYK JPEGs and animated WebP images it can't decode
What
When an image fails to decode, Claude Code now checks for two specific cases and reports a tailored reason instead of a generic failure message:
- a CMYK JPEG (a JPEG using a four-color printing color model instead of the usual RGB), reported as "it is a CMYK JPEG, which Claude Code cannot decode"
- an animated WebP file, reported as "it is an animated WebP whose first frame Claude Code cannot decode"
Why
This makes it clear why a particular image failed to load, so a user can tell the problem is a specific unsupported format rather than a generic error, and can convert the image accordingly.