Hi Phil, hi everybody,
unfortunately, my photos shot with a 105mm F2.8 EX DG Macro lens show as LensType and LensID just "Sigma":
exiftool IMGP0088.JPG "-lens*"
Lens Type : Sigma
Lens Focal Length : 105.0 mm
Lens ID : Sigma
and numeric:
exiftool -n IMGP0088.JPG "-lens*"
Lens Type : 3 0
Lens Focal Length : 105
Lens ID : 3 0
The value "3 0" does not correspondent to the values found at https://exiftool.org/TagNames/Sigma.html.
There I find:
0x257 = Sigma 105mm F2.8 EX DG Macro
So I want to change the LensType and LensID to the value 257. I Tried it:
exiftool IMGP0088.JPG -lenstype=257
0 image files updated
1 image files unchanged
exiftool IMGP0088.JPG -lenstype="Sigma 105mm F2.8 EX DG Macro"
0 image files updated
1 image files unchanged
exiftool -n IMGP0088.JPG -lenstype=257
0 image files updated
1 image files unchanged
The values found in the table are hex values. 0x257 is 500 in decimal. So I tried:
exiftool -n IMGP0088.JPG -lenstype=599
0 image files updated
1 image files unchanged
exiftool IMGP0088.JPG -lenstype=599
0 image files updated
1 image files unchanged
Do you have a hint for me how to change the value?
Best regards
Franz
Hi Franz,
You have left out some crucial information: The camera make. I'm assuming Pentax due to the 2-value LensType. See the Pentax LensType values here (https://exiftool.org/TagNames/Pentax.html#LensType).
- Phil
Hi Phil,
thank you for your reply. You are right, it is a Pentax camera. And yes, here I see "3 0" for Sigma.
Hm, my lens is not listed there. So I it is not possible to set LensID and LensType more specific? Then I have do set the tag "Lens" instead.
Best regards
Franz
Hi Franz,
I suggest using EXIF:LensModel. This is a string-based tag that will take any value that you write.
- Phil
Thank you, Phil, I will set LensModel.
Franz