Learn a photograph's shape from its header

A panorama the merge did not make, a stitch from another program or a
phone's sweep, never had a width or height in the catalog, so it could
never be given a wide cell. The header read that dates a photograph now
records its size as it is seen, orientation applied, alongside the date.
This commit is contained in:
2026-09-28 19:57:37 -04:00
parent 6050a8e703
commit 3b7d7129ff
3 changed files with 40 additions and 1 deletions
+1
View File
@@ -517,6 +517,7 @@ pub(super) async fn collect_metadata(
captured_at: md.captured_at,
captured_offset: md.captured_offset,
camera: camera_label(md.make.as_deref(), md.model.as_deref()),
size: MetadataFound::upright_size(&md),
lens: md.lens.map(|l| l.trim().to_string()),
iso: md.iso,
});