Ignore:
Timestamp:
2011-06-01T12:33:42+12:00 (13 years ago)
Author:
sjm84
Message:

Updating the ExifTool perl modules

File:
1 edited

Legend:

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

    r16842 r24107  
    1616use Image::ExifTool::XMP;
    1717
    18 $VERSION = '1.00';
     18$VERSION = '1.02';
    1919
    2020sub ProcessPhotoMechanic($$);
     
    5050);
    5151
    52 # rawCrop coordinate conversions
     52# raw/preview crop coordinate conversions
    5353my %rawCropConv = (
    5454    ValueConv => '$val / 655.36',
     
    6565    WRITABLE => 1,
    6666    FORMAT => 'int32s',
    67     209 => {
    68         Name => 'RawCropLeft',
    69         %rawCropConv,
    70     },
    71     210 => {
    72         Name => 'RawCropTop',
    73         %rawCropConv,
    74     },
    75     211 => {
    76         Name => 'RawCropRight',
    77         %rawCropConv,
    78     },
    79     212 => {
    80         Name => 'RawCropBottom',
    81         %rawCropConv,
    82     },
     67    209 => { Name => 'RawCropLeft',   %rawCropConv },
     68    210 => { Name => 'RawCropTop',    %rawCropConv },
     69    211 => { Name => 'RawCropRight',  %rawCropConv },
     70    212 => { Name => 'RawCropBottom', %rawCropConv },
    8371    213 => 'ConstrainedCropWidth',
    8472    214 => 'ConstrainedCropHeight',
     
    10694    },
    10795    223 => 'Rating',
     96    236 => { Name => 'PreviewCropLeft',   %rawCropConv },
     97    237 => { Name => 'PreviewCropTop',    %rawCropConv },
     98    238 => { Name => 'PreviewCropRight',  %rawCropConv },
     99    239 => { Name => 'PreviewCropBottom', %rawCropConv },
    108100);
    109101
     
    122114    EditStatus  => { },
    123115    Prefs       => {
     116        Notes => 'format is "Tagged:0, ColorClass:1, Rating:2, FrameNum:3"',
    124117        PrintConv => q{
    125118            $val =~ s[\s*(\d+):\s*(\d+):\s*(\d+):\s*(\S*)]
     
    164157        last unless $footer =~ /cbipcbbl$/;
    165158        my $size = unpack('N', $footer);
    166    
     159
    167160        if ($size & 0x80000000 or not $raf->Seek(-$size-12, 1)) {
    168161            $exifTool->Warn('Bad PhotoMechanic trailer');
     
    178171        $$dirInfo{DataPos} = $raf->Tell() - $size;
    179172        $$dirInfo{DirLen} = $size + 12;
    180    
     173
    181174        my %dirInfo = (
    182175            DataPt => \$buff,
     
    238231=head1 AUTHOR
    239232
    240 Copyright 2003-2007, Phil Harvey (phil at owl.phy.queensu.ca)
     233Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
    241234
    242235This library is free software; you can redistribute it and/or modify it
Note: See TracChangeset for help on using the changeset viewer.