Files
lightcraft/docs
insideTheFluxandClaude Opus 5.5 72a074b9bc LR-LIB-PEOPLE: a size only the XMP states doesn't turn face boxes (#2674)
extract turned regions by the shape of the size it had, and that could be the XMP's: tiff:ImageWidth and
tiff:ImageLength fill it in when Exif states no size, and for a TIFF-based file from_tiff has already merged the file's
own XMP. An XMP size of the upright photo then matched boxes drawn on the upright photo, so they were turned by
mistake. Other paths don't get here (the image header decides for images, merge_into for a packet read as a sidecar).
A raw with its own sidecar without mwg-rs:Regions does, because it keeps extract's boxes.

from_tiff now keeps the size Exif states when it merges the XMP, and extract decides with that size; with none, boxes
stay as written, as they do on main. extract still reports the XMP's size. Every raw decoder sets its own size after
from_tiff, so none of them sees a difference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CvoftN82NMM6Ebbf3YAK9e
2026-10-30 17:38:32 -07:00
..
2026-10-15 03:24:51 -04:00
2026-10-24 10:08:20 -04:00
2026-10-15 01:48:43 -04:00
2026-10-30 15:24:59 -04:00