Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.0.47 ·

Automatic Image Compression

Entry
JSON All of v2.0.47
EntryKind: in v2.0.47,
ChangesSection of the release

What: Images in conversation context are now automatically compressed when they exceed size limits

How it works:

  • Automatically detects base64-encoded images larger than ~3.9MB
  • Compresses using JPEG format via Sharp library
  • Preserves original media type metadata
  • Prevents API errors from oversized content

Details:

  • Maximum uncompressed image size: 3,932,160 bytes (~3.9MB)
  • Compression threshold: 8,192 bytes
  • Only applies to images in conversation context, not uploaded files
  • Transparent to users - happens automatically during content processing
  • Evidence: egQ() at line 155776, called from content truncation at line 502920

See this entry in the whole of v2.0.47 →

Feedback