Root cause: Image was being rotated TWICE: 1. Frontend rotated it in the modal and sent processed blob 2. Backend rotated it AGAIN based on rotation_degrees This double rotation made the image appear unrotated or distorted. Solution: Remove frontend image processing entirely. - Modal now sends ONLY the rotation value - No imageBlob from modal (uses original) - Backend receives original image + rotation value - Backend applies rotation ONCE Now image is rotated correctly by backend without duplication. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
12 KiB
12 KiB