mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01: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 <[email protected]>