- Timestamp:
- 2011-06-01T12:33:42+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/cpan/Image/ExifTool/PPM.pm
r16842 r24107 17 17 use Image::ExifTool qw(:DataAccess :Utils); 18 18 19 $VERSION = '1.0 4';19 $VERSION = '1.05'; 20 20 21 21 #------------------------------------------------------------------------------ … … 85 85 # 86 86 if ($outfile) { 87 my $n ewValueHash;88 my $newComment = $exifTool->GetNewValues('Comment', \$n ewValueHash);87 my $nvHash; 88 my $newComment = $exifTool->GetNewValues('Comment', \$nvHash); 89 89 my $oldComment = $info{Comment}; 90 if (Image::ExifTool::IsOverwriting($n ewValueHash, $oldComment)) {90 if (Image::ExifTool::IsOverwriting($nvHash, $oldComment)) { 91 91 ++$exifTool->{CHANGED}; 92 if ($verbose > 1) { 93 print $out " - Comment = '$oldComment'\n" if defined $oldComment; 94 print $out " + Comment = '$newComment'\n" if defined $newComment; 95 } 92 $exifTool->VerboseValue('- Comment', $oldComment) if defined $oldComment; 93 $exifTool->VerboseValue('+ Comment', $newComment) if defined $newComment; 96 94 } else { 97 95 $newComment = $oldComment; # use existing comment … … 146 144 =head1 AUTHOR 147 145 148 Copyright 2003-20 07, Phil Harvey (phil at owl.phy.queensu.ca)146 Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca) 149 147 150 148 This library is free software; you can redistribute it and/or modify it
Note:
See TracChangeset
for help on using the changeset viewer.