KamoCRM

Send phone JPEGs to ConversionService so they arrive upright

FixDocsService
Shipped
November 7, 2026 at 10:51 PM UTC
Author
Kamo
Commit
06deab1

A portrait phone photo is stored on its side with an EXIF orientation tag. LegalUploadStore converted JPEGs in-process with ImageIO, which ignores the tag, so a member's photographed ID reached the reviewer lying sideways (and LosslessFactory re-encoded it several times larger). JPEGs now go through ConversionService, which honours the tag and embeds the JPEG as-is, and also decodes HEIC/AVIF/WebP (conversionservice 125ab4b). If ConversionService is unreachable a readable JPEG is still accepted in-process; the "please upload a JPG, PNG or PDF" answer stays the last resort.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing