Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image: Add Subject Distance to EXIF data, to encode Lens Position #443

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

njhollinghurst
Copy link
Collaborator

This is the only bit of AF metadata that seems to match a standard Exif tag. [XXX Because of numerical/API differences, the JPEG and DNG versions can encode slightly different values.]

Signed-off-by: Nick Hollinghurst nick.hollinghurst@raspberrypi.com

This is the only bit of AF metadata that seems to match a standard
Exif tag. [XXX Because of numerical/API differences, the JPEG and
DNG versions can encode slightly different values.]

Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
@njhollinghurst
Copy link
Collaborator Author

Re-pushed with style fix.

Infinity seems to work. exiftool displays distances correctly in both JPG and DNG (though they don't always match beyond 4 significant figures). Raw-processing tools are not fazed by the new tag.

@naushir naushir merged commit 77a03d9 into main Jan 24, 2023
@njhollinghurst njhollinghurst deleted the exif_subject_distance branch January 24, 2023 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants