Ignore:
Timestamp:
2021-02-26T19:39:51+13:00 (3 years ago)
Author:
anupama
Message:

Committing the improvements to EmbeddedMetaPlugin's processing of Keywords vs other metadata fields. Keywords were literally stored as arrays of words rather than phrases in PDFs (at least in Diego's sample PDF), whereas other meta fields like Subjects and Creators stored them as arrays of phrases. To get both to work, Kathy updated EXIF to a newer version, to retrieve the actual EXIF values stored in the PDF. And Kathy and Dr Bainbridge came up with a new option that I added called apply_join_before_split_to_metafields that's a regex which can list the metadata fields to apply the join_before_split to and whcih previously always got applied to all metadata fields. Now it's applied to any *Keywords metafields by default, as that's the metafield we have experience of that behaves differently to the others, as it stores by word instead of phrases. Tested on Diego's sample PDF. Diego has double-checked it to works on his sample PDF too, setting the split char to ; and turning on the join_before_split and leaving apply_join_before_split_to_metafields at its default of .*Keywords. File changes are strings.properties for the tooltip, the plugin introducing the option and working with it and Kathy's EXIF updates affecting cpan/File and cpan/Image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/cpan/Image/ExifTool/Stim.pm

    r24107 r34921  
    66# Revisions:    06/12/2009 - P. Harvey Created
    77#
    8 # References:   1) http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-006_E.pdf
     8# References:   1) http://www.cipa.jp/std/documents/e/DC-006_E.pdf
    99#------------------------------------------------------------------------------
    1010
     
    1414use vars qw($VERSION);
    1515
    16 $VERSION = '1.00';
     16$VERSION = '1.01';
    1717
    18 # Tags found in Stim APP3 segment in JPEG images
     18# Tags found in APP3 Stim segment in JPEG images
    1919%Image::ExifTool::Stim::Main = (
    2020    GROUPS => { 0 => 'Stim', 1 => 'Stim', 2 => 'Image'},
     
    2222        These tags are part of the CIPA Stereo Still Image specification, and are
    2323        found in the APP3 "Stim" segment of JPEG images.  See
    24         L<http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-006_E.pdf> for the
    25         official specification.
     24        L<https://web.archive.org/web/20190718152459/http://www.cipa.jp/std/documents/e/DC-006_E.pdf>
     25        for the official specification.
    2626    },
    2727    0 => 'StimVersion',
     
    175175=head1 AUTHOR
    176176
    177 Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
     177Copyright 2003-2021, Phil Harvey (philharvey66 at gmail.com)
    178178
    179179This library is free software; you can redistribute it and/or modify it
     
    184184=over 4
    185185
    186 =item L<http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-006_E.pdf>
     186=item L<http://www.cipa.jp/std/documents/e/DC-006_E.pdf>
    187187
    188188=back
Note: See TracChangeset for help on using the changeset viewer.