-
Notifications
You must be signed in to change notification settings - Fork 295
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
How does reading lensid work? #264
Comments
If you look at the entry for All of this data wasn't copy/pasted from some source. It was built up over the past decade+ from information gathered from users and other programs, such as |
Ok. So this means, I have no chances to find or compute such things with PHP, without deeper knowledge... |
Unfortunately, that is correct. And since some of the data will appear in the MakerNotes, I doubt you'll be able to use |
You could support just the "standard" Exif 0xa434 LensModel (and 0xa433 LensMake) tags. Thankfully some camera manufacturers started using those more recently instead of (or in addition to) their proprietary MakerNotes. |
This is not exactly a exiftool question, basically I try to solve this issue in PHP with
$exifarray = exif_read_data($imagefile)
.When I use
exiftool -lensid /path/to/imagefile
, I get exactly the info what I need. But withexif_read_data()
I couldn't find neither a string or id or anything else which is close to a reliable id or string to identify the lens.Can someone please tell me, how exiftool can identify the correct lens? Which exif fields can I use?
The text was updated successfully, but these errors were encountered: