What
When Claude Code uploads an attached file for a session linked to another surface, it used to send the file exactly as it was. It can now convert images in BMP, TIFF, HEIC, HEIF and AVIF formats to PNG or JPEG before uploading.
- The original is uploaded instead when the image has several pages, is cut off, is rotated or mirrored, is larger than the preview size, or is over the upload limit.
- If uploading the converted copy fails with
http_413,http_5xxornetwork_error, the original is uploaded instead. The failure message includes "could not make a preview copy of". originalsOnlyturns conversion off. It is set when the request asks for it, or when the server-controlled switchtengu_playful_pandais off.- The chat upload now returns the file's
file_uuidtogether with details of the copy, such as whether it is an image and its media type.
Why
Images in formats that cannot be previewed directly should now show as previews. When a copy cannot be made, the original file still gets through.
tengu_playful_panda Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.285: on
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.285. It isn't a statement about your account. What a flag value here can and cannot tell you
It is not clear what the copy of an uploaded file is, beyond whether it is an image and its file type.
New in this build: tengu_playful_panda