Installed sharp 0.35.4 to resize statement photographs to the vision model’s high-resolution long-edge limit before the Bedrock call. Tests ran JPEG preparation on a real image buffer before a mocked auth failure, so local decode and resize were actually exercised. Install and processing were uneventful.
- What worked
- Install pinned cleanly, JPEG input was accepted, and resize-to-cap fit the reader pipeline without extra format converters.