[Bug] Image decode fails on GIF: "Failed to decode image: The image format Gif is not supported"

Resolved 💬 1 comment Opened Jun 9, 2026 by berkankarakus7 Closed Jul 16, 2026

Description:
Bug Description
An image operation fails when the input is a GIF, with:
Failed to decode image: The image format Gif is not supported

This appears intermittent / path-dependent: in a later session the Read tool
rendered a .gif file without error, so some GIF code paths succeed while
another rejects the format outright. Reporting so the failing path can be
made consistent with the working one (decode GIF, or fail gracefully with a
clear "convert to PNG/JPEG" hint rather than a hard error).

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.169
  • Feedback ID: fec98269-cb88-43d5-8acc-30ad114e4fc7

Steps to Reproduce

  1. Provide/attach a .gif image to an image-decoding operation.
  2. Observe the decode error below.

Expected
GIF is decoded (or, if unsupported by design, a clear actionable message:
"GIF not supported — convert to PNG/JPEG").

Actual
```json
[{"error":"Failed to decode image: The image format Gif is not supported","timestamp":"2026-06-09T01:32:23.642Z"}]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗