Sigma lens not recognised correctly on Pentax
Added by S. Verdoold about 9 years ago
The following lens for my Pentax is not recognised properly by exiv2:
Sigma 18-250mm 1:3.5-6-3 DC OS HSM
It seems Exiftool does recognise it:
../Image-ExifTool-9.02/exiftool ./IMGP3550.DNG | grep -i lens
Lens Type : Sigma 18-250mm F3.5-6.3 DC OS HSM
Lens F Stops : 5
Lens ID : Sigma 18-250mm F3.5-6.3 DC OS HSM
but exiv2 doesn't:
exiv2 -pt IMGP3550.JPG | grep -i lens
Exif.Pentax.LensType Byte 4 Unknown (0x0808)
Exif.Pentax.LensInfo Undefined 67 168 48 0 8 114 40 86 42 157 96 1 12 109 193 171 132 28 1 82 108 251 255 255 255 255 41 96 1 12 0 170 10 97 0 0 0 0 175 238 8 240 0 0 159 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Is the above information already sufficient to be able to facilitate a possible fix or should more or different things be provided?
Replies (2)
RE: Sigma lens not recognised correctly on Pentax - Added by Robin Mills almost 9 years ago
Hey S:
Has this matter now been answered with your patch?
Robin
RE: Sigma lens not recognised correctly on Pentax - Added by S. Verdoold almost 9 years ago
Hey Robin,
The "Lens Type" is now correctly identified. The patch by Pascal de Bruijn already fixed that. (My patch simply adds to Pascals patch so I guess both should be applied). The LensInfo part is unchanged (and it would require more than just adding some ID's to change it I guess). The main point about the lens recognition has been answered by the patches however.
Sjaak