Changing lensinfo -keep getting error 'Not enough values specified (4 required)'

Started by spikenard, June 29, 2020, 04:02:10 AM

Previous topic - Next topic

spikenard

Hi all, any help greatly appreciated.

I've been struggling to update exif lensinfo on a jpg.   Lensinfo is made up of 4 values of which I believe I have entered 4 numbers but I keep getting the error 'Not enough values specified (4 required) for ExifIFD:LensInfo'.

Command I'm using:
exiftool IMAGE.jpg -m -v3 -exif:LensInfo="1.52 4.25 1.8 1.8"

Am I misunderstanding the required syntax?

Thanks



Phil Harvey

Somehow you are using funny curly quotes ("...").  You need to use regular double quotes ("...").

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).