{"version":"2.1.327","anchor":"image-resize-accepts-a-byte-budget","canonical_anchor":"image-resize-accepts-a-byte-budget","heading":"Image shrinking can now aim for a file size limit","tier":"internal","area":"Images","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/image-resize-accepts-a-byte-budget","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Image shrinking can now aim for a file size limit\n\nClaude Code's image resizing can now aim to fit a PNG under a set number of bytes, falling back to lossy compression if needed\n\n**Unclear.** Which images are shrunk to a byte limit is not stated.\n\n**What**\n\nWhen Claude Code shrinks an image, it can now be given a size limit in bytes as well as a target image size. For PNG images it tries to fit under that limit, keeping full quality where it can and falling back to compression that loses some detail when it can't.\n\n**Why**\n\nThis may change how large images are compressed before Claude sees them.\n\n- Area: Images\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}