FAILURE MAP
← Case archive

FA-79322 / Image orientation metadata / Member archive

Invalid sidecar orientation blocks the embedded fallback · case 02

A sidecar with orientation 0 or text garbage overrides a valid embedded tag.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

A photo manager reconciles the embedded orientation with an XMP sidecar. Values are valid if they are integers 1..8 or strings that are exactly one digit 1..8 after trimming. Policy "sidecar" prefers the sidecar, "embedded" prefers the file, and "newest" (also used for unknown policies) prefers the sidecar when both are valid and sidecar_mtime >= file_mtime; the other valid value is the fallback, then 1.

Why this case matters

Camera, phone and scanner images carry an orientation hint separately from the stored pixels; galleries, thumbnailers, editors and upload pipelines must interpret it consistently or photos appear sideways, mirrored or doubly rotated.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression: sidecar value validation 0"06"1Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗