mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-18 16:04:57 +00:00
The five RAW readers cast the u32 Orientation to u16 before the 1..=8 check, so a LONG 65538 became 2 and rotated the image. A shared tiff::orientation checks the range on the u32 first. Fixes #1817. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>