How to read ISO from maker note field and write to ISO field?

Started by Archive, May 12, 2010, 08:53:50 AM

Previous topic - Next topic

Archive

[Originally posted by wsmith on 2005-08-02 11:05:23-07]

I have a Pentax Optio 550 which does not store the ISO setting in the standard ISO field, but in a maker note field.  I need to read this value in the maker note field and copy to the ISO field for all photos in a directory.  I've worked out how to do this manually using individual commands, but would like to automate it.  I'm running ExifTool on Windows XP.

Archive

[Originally posted by exiftool on 2005-08-22 11:27:26-07]

You can use this command line to do what you want for all images in a directory (ExifTool version 5.51 or later):

Code:
exiftool '-iso<pentax:iso' DIR

Archive

[Originally posted by wsmith on 2006-01-01 15:00:30-08]

I wasn't able to get this working and have only just found some time to have another go.  I've downloaded the latest Exiftool.  I'm using Exiftool on Windows XP with Active Perl 5.8.6.811.  I think the problem is that the syntax for the command may be different in my case.

Thanks
Wayne

Archive

[Originally posted by wsmith on 2006-01-01 16:15:36-08]

OK. I've done some testing and this seems to be the syntax I need to use for a single file.

perl exiftool "-exif:iso &lt pentax:iso" imgp1937.jpg

I had to use exif:iso as iso by itself seemed to show the Pentax ISO field. Huh

Prior to running this command there was no EXIF ISO field and using the -g option only the Pentax ISO was displayed.  After running this command the EXIF ISO field was created/updated correctly and is displayed correctly using the -g option.

However the Pentax ISO field is no longer displayed when using the -g option.  Although when displaying individual named tags, using -exif:iso and -pentax:iso, both tags displayed correctly.  I tested this by changing the EXIF ISO field to a different value.

Regards,

Wayne Smith

Archive

[Originally posted by exiftool on 2006-01-01 16:56:23-08]

Hi Wayne,

I'm glad you sorted this out.  I've just recently learned myself that single quotes don't work in a Windows cmd shell, so double quotes have to be used.  I will add a note to this effect in the documentation.

You seem to be a bit confused because ExifTool supresses duplicated tag names by default.  Use the -a option to show all tags, including duplicates.  Without this, only one ISO field will be displayed (the one from the maker notes).  You can either use -a show all ISO values, or use -exif:iso or -pentax:iso to show ISO values from a specific group.

When writing, all ISO tags will be set if you don't specify a group, so "-iso<pentax:iso" should work.  However, what you have done is fine too.

Happy new year! Smiley