summaryrefslogtreecommitdiff
path: root/wipfel-droid/.gradle/file-system.probe
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 10:35:03 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 10:35:03 +0100
commit8a4fea421c5a1701889b42bd5100d70999709c40 (patch)
treed853a88967a9e6f31fbb8b321f7e44f1b2387891 /wipfel-droid/.gradle/file-system.probe
parent6e38ef31467a85edc2aff0a1b6889a417f5ef20f (diff)
core: fix focal-length-to-scale constant (36 mm film width, not 35)
The 35mm film frame is 36 mm wide, so a lens with 35mm-equivalent focal length f projects with focal length f*w/36 in pixels. The original C++ code divided by 35, making the EXIF-derived initial scale ~2.9% too large (and the fitted focal readout ~2.9% low). - EXIF init and the focal slider/readout now use /36 - the gipfel JPEG comment KEEPS its historical scale*35/w encoding (focal_from_comment flag), so annotated JPEGs written by any older gipfel version still reproduce the identical view, and files saved by this version remain readable by them - new regression test focal_scale_exif_vs_comment; golden tests untouched (they pin the comment path) Verified against real photos: optical shots now agree with EXIF within ~1% (was ~3.6%).
Diffstat (limited to 'wipfel-droid/.gradle/file-system.probe')
0 files changed, 0 insertions, 0 deletions