Main Menu

Possible FileSource bug?

Started by Archive, May 12, 2010, 08:54:11 AM

Previous topic - Next topic

Archive

[Originally posted by dcnicholls on 2007-10-27 10:49:50-07]

Using the tag FileSource and using the Windows executable exiftool.exe, whether I set the command line substring to -FileSource="Film Scanner" or -FileSource="Digital Camera", the result appears to be always Digital Camera.

A bug?

DN

Archive

[Originally posted by bogdan on 2007-10-27 11:01:01-07]

Hi,

Have you tried:

exiftool -n -filesource=1 imagename.jpg

-where 1=Film scanner, 2=Print scanner, 3=Digital camera

Bogdan

Archive

[Originally posted by dcnicholls on 2007-10-27 11:45:12-07]

Yes, that worked.  Thanks.  But I had either to run exiftool a second time with the -n control, for that change alone, or change all the other controls that read -n which I was using in the full string to their numeric versions.  Not ideal (harder to read) but it works.

I suspect the string version problem may be a bug.

DN

Archive

[Originally posted by exiftool on 2007-10-27 18:08:46-07]

I'm not sure why I did this (probably because the EXIF standard specifies
that FileSource must be 3, Digital Camera), but I force FileSource to
'Digital Camera' when written without the -n option.  I can see why this
can be confusing, and maybe this should be changed, but first I will
have to do a bit of checking to see why I implemented it this way.

For all other tags, your technique of setting the tag to the string value
would work.

- Phil

Archive

[Originally posted by dcnicholls on 2007-10-28 00:45:30-07]

Thanks, Phil.

I've found that I can append a second exiftool command in a batch file, so I can restrict the -n terms to the second FileSource only command line and leave the main command line still readable.

A bit clunky but it works perfectly well.

DN