Image-ExifTool - How to multiply an EXIF-value?

Posted on Fri May 25 10:42:53 2007 by cocker68
How to multiply an EXIF-value?

Hello,

how would I divide or multiply an EXIF-value?

I got some files in which for whatever reason the value for FocalLength is ten times its real value, and I would like to correct this with exiftool

The following failed:

exiftool '-FocalLength=FocalLength*0.1' image.jpeg Not a floating point number for ExifIFD:FocalLength Argument "FocalLength*0.1" isn't numeric in multiplication (*) at (eval 30) line 8, <EXIFTOOL_FILE2 +> chunk 10. 1 image files updated exiftool '-FocalLength=FocalLength/10' image.jpeg Not a floating point number for ExifIFD:FocalLength Argument "FocalLength/10" isn't numeric in multiplication (*) at (eval 30) line 8, <EXIFTOOL_FILE2> + chunk 10. 1 image files updated

- Cocker :wq

Direct Responses: 5228 | Write a response