Your above command ( exiftool -n -lenstype="Zentax 100mm" filename ) can not work correctly because:ġ) when you use "-n", Exiftool is expecting a NUMBER, but you provide a text stringĢ) in the look-up table, there will be NO entry with the text "Zentax 100mm", so Exiftool would never know which NUMBER it has to write The "-n" switch tells Exiftool NOT to use PrintConversion When you use Exiftool to WRITE LensType, you can use either the text-string or the number:Įxiftool.exe -LensType="Minolta 50mm F1.7" filename This conversion is based on a look-up table stored inside Exiftool, which contains entries like To give the above output, Exiftool uses "PrintConversion" to translate the NUMBER into a more-easy-to-understand text string. This means that in fact only the NUMBER 25501 is present in the image file. (The above commands work correctly in Windows 7 Command prompt, when run from the directory where the images are, and Exiftool.exe having been copied into that sybersitizen:Īs I stated above, LensType is a NUMBER, and not a text string. SAM", you could use the following command:Įxiftool.exe -LensModel="EF 135mm f/2L" -if "$LensModel eq 'DT 135mm F2 SAM'" *.JPG If you have a directory with many images where only some have the incorrect "DT. when your imagefile is named Image.jpg, the commandĮxiftool.exe -LensModel="EF 135mm f/2L" Image.jpg This is easy to correct with Exiftool, e.g. The MC-11 has a number of "supported Sigma lenses" for which some lens info is apparently stored inside the adapter.Īll other Sigma and Canon lenses are "not supported" and for these lenses "DT. LensType is in the Sony makernotes, and is not standard Exif. It is a TEXT STRING written by the camera in the ARW and JPG files. Sybersitizen is talking about Sony LensType TrainerKEN is talking about EXIF LensModel,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |