Reading Ricoh custom memo tags

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

Previous topic - Next topic

Archive

[Originally posted by wondermonkey on 2007-06-19 19:07:53-07]

I've been trying to write a script that batch-processes a bunch of images taken with my company's Ricoh Caplio Pro G3.  Everything so far has worked beautifully (extracting the timestamps I need and all of the GPS information) but I'm having trouble figuring out how to read the five custom memo fields.  The custom memo fields show up when I drag one of the images onto the windows command line tool, so I assume there's something easy that I'm doing wrong in my code.  Any help would be much appreciated.  I can put a sample image file up somewhere if needed.

Code:
sub list_tags {
    $file = shift;
    my $exifTool = new Image::ExifTool;
    $exifTool->Options(Unknown => 2);
    my $info = $exifTool->ImageInfo($file);
    my $tag;
    foreach $tag ($exifTool->GetFoundTags('File')) {
        my $val = $info->{$tag};
        print "$tag: $val\n";
    }
}

Archive

[Originally posted by exiftool on 2007-06-19 19:28:19-07]

The custom memo fields should be in your output.  Look again,
there are lots of tags and it is easy to miss them.  I tried your
code and it works for custom memo fields in my G3 sample image.

If you still have trouble, send me your image (philharvey66 at gmail.com)
so I can test the specific image you are using.

- Phil

Archive

[Originally posted by wondermonkey on 2007-06-19 21:13:00-07]

Ah-ha!  I'm running ActivePerl on Windows, and the PPM repositories kept telling me that 5.32 was the latest version of Image-ExifTool.  I just downloaded version 6.9 from CPAN and installed.  The tags are all showing up now.  Guess I shouldn't be blindly trusting the PPM upgrade tool.

Anyways, thanks for the quick response, and MANY thanks for creating this package.  It's one of the most useful things I've run across in a long time.

- Paul

Archive

[Originally posted by exiftool on 2007-06-20 11:37:42-07]

I'm glad you figured this out because I wasn't thinking that
you may have been using an older version.

The Ricoh RMETA support was added in ExifTool 6.44
(Oct. 2, 2006).

- Phil