-
Notifications
You must be signed in to change notification settings - Fork 299
Description
Describe the bug
I'm not sure if this is a bug. In #1270 I was told to use .exiv2 file to identify lenses but I have issue with Tamron 85mm 1.8 VC on Nikon d780.
The lens is identified as VR 85mm f/1.8E
This file is generated by darktable, because I've had NEF files created for DarkTable White Balance (I've forget that I can generate small jpeg in camera) but it should not matter, I've got the same output for NEF file.
Steps to reproduce the behaviour:
This is the output of a exiv2 comment (I'm using version on Fedora 32):
$ exiv2 --grep lens/i file.jpg
Exif.Nikon3.LensType Byte 1 D G VR
Exif.Nikon3.Lens Rational 4 85mm F1.8
Exif.Nikon3.LensFStops Undefined 4 6.33333
Exif.Nikon3.LensData Undefined 108 48 56 48 48 5 245 141 25 51 230 101 60 50 216 67 164 0 247 93 93 208 207 150 146 51 31 168 32 120 180 214 223 202 155 81 236 108 209 27 74 94 87 53 248 160 45 159 246 50 83 89 68 20 201 99 226 70 143 189 208 200 165 103 14 154 11 97 156 188 193 171 122 46 199 69 168 240 29 47 38 2 195 105 244 100 185 243 18 22 255 205 128 24 149 247 63 106 123 113 76 12 177 59 170 254 55 85 88
Exif.Photo.LensSpecification Rational 4 850/10 850/10 180/100 180/100
Exif.Photo.LensMake Ascii 6
Exif.Photo.LensModel Ascii 15 VR 85mm f/1.8E
Exif.Photo.LensSerialNumber Ascii 11
$ exiv2 --version
exiv2 0.27.99.0
There are no Exif.NikonLd3.LensIDNumber
This is the output of same lens on Nikon d750
$ exiv2 --grep lens/i file.jpg
Exif.NikonLd3.LensIDNumber Byte 1 229
Exif.NikonLd3.LensFStops Byte 1 F6.3
Exif.Nikon3.LensType Byte 1 D G VR
Exif.Nikon3.Lens Rational 4 85mm F1.8
Exif.Nikon3.LensFStops Undefined 4 6.33333
Exif.Photo.LensModel Ascii 4 229
Desktop (please complete the following information):
- OS: Fedora 32
- Compiler & Version [Gcc 7.3, Clang-6, MSVC 2017] default fedora package
- Compilation mode and/or compiler flags
Additional context
I'm not sure if this is issue with camera or something with exiv2. Maybe if Nikon d780 have different EXIF tags then exiv2 should use different approach to detect lenses using this camera.
Note: I will not be able to test this camera if the fix will be available, because I've had this camera only for a weekend.
