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:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user