KamoCRM

An iPhone photo (HEIC) attaches to a bug report as a JPEG

Fixkamo-internal
Name
lúc 06:50 24 tháng 9, 2026 UTC
Tác giả
Kamo
Cam kết
0aea879

A HEIC dropped on a bug report was refused with "must be a PNG, JPEG, WebP or GIF image" — the camera-roll format of every iPhone, AirDropped to a Mac as it is. The server is right not to store one: the picture has to render in Chrome and be read by an AI session, and neither decodes HEIC. So the dropzone now converts it to a JPEG before staging it, and the file picker stops greying .heic out. Safari decodes HEIC natively (createImageBitmap); everywhere else libheif as WebAssembly (heic-to, the /csp build) is imported only when a HEIC arrives, so nobody else downloads its 3 MB. The longest edge is capped at 4096 so a 48 MP photo stays under the 10 MB image ceiling. The window is busy while a photo converts, so a report cannot be sent without it. A photo that cannot be converted is passed through and refused by name, as before. Verified in headless Chrome against the real dropzone: a HEIC stages as IMG_0275.jpg (FF D8 FF, what SystemBugService sniffs), its thumbnail draws, and a PNG drop never fetches the converter chunk.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Tất cả những thứ đó đều đến trong không gian làm việc của anh. Bắt đầu với kế hoạch miễn phí và đọc lại trang này trong một tháng.

Bắt đầu tự do mãi mãiXem truy cập