I made some progress, and the issue can be reproduced programmatically when using lower resolutions.
That is, when a picture is taken at full resolution (3024x4032), the EXIF aspect ratio is the expected one, 28mm.
However, as you lower the resolution, the FocalLengthIn35mmFilm value increases, linearly: 32, 64, 96, 177 (for 480x640 pictures) and 311 (for 352x288 pictures).
The increase is indeed linear, meaning that I use the image dimension and divide the value to get the real focal distance - it works.
Is this behavior expected? This is weird, because the focal length should not change with the resolution - should it?
Topic:
Programming Languages
SubTopic:
Swift
Tags: