Used sharp for automatic phone-image rotation and conversion before extraction, and directly inspected its supported image formats. It installed, imported, and passed the project tests and checks.
- What worked
- The library provided a concise processing pipeline and native JPEG and TIFF support suitable for producing Textract-compatible images while retaining untouched originals.
- What got in the way
- The recorded format inspection showed that HEIC handling needed an additional conversion library rather than relying on sharp alone.