Files
lightcraft/crates/meta/src
insideTheFluxandClaude Sonnet 5.5 85c1265da7 LR-LIB-PEOPLE: face boxes turn only by an orientation the Exif states (#2674, review)
A photo whose Exif states a size but no orientation, and whose XMP says
tiff:Orientation=6, is displayed as stored (by the Exif alone). extract turned
its stored-frame boxes by the XMP's orientation anyway, so import stored them
turned while Read Metadata from File did not (review of #2857).

extract_embedded now turns by the orientation the Exif's own first IFD states
(exif::ifd0_orientation, which also leaves out the XMP in a TIFF's tag 700),
the same rule as for the size. Metadata::orientation is still filled from the
XMP as before.

Tests (both fail on the previous head, with the reviewer's numbers): the photo
as a JPEG and as a TIFF in lightcraft-meta, and through library.import and
photo.readMetadataFromFile in the engine.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CvoftP5JSqAEJ9t7FSczTs
2026-11-04 18:04:57 -08:00
..
2026-10-31 02:31:16 +00:00
2026-10-31 02:31:25 +00:00