exiftool_vendored 13.24.0 → 13.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/Changes +26 -3
- data/bin/META.json +1 -1
- data/bin/META.yml +1 -1
- data/bin/README +3 -3
- data/bin/build_geolocation +1 -1
- data/bin/exiftool +3 -3
- data/bin/lib/Image/ExifTool/Apple.pm +12 -2
- data/bin/lib/Image/ExifTool/Canon.pm +3 -2
- data/bin/lib/Image/ExifTool/DarwinCore.pm +22 -11
- data/bin/lib/Image/ExifTool/Geolocation.dat +0 -0
- data/bin/lib/Image/ExifTool/ICC_Profile.pm +1 -0
- data/bin/lib/Image/ExifTool/Nikon.pm +2 -1
- data/bin/lib/Image/ExifTool/Olympus.pm +2 -1
- data/bin/lib/Image/ExifTool/PCAP.pm +5 -5
- data/bin/lib/Image/ExifTool/PLIST.pm +2 -2
- data/bin/lib/Image/ExifTool/Pentax.pm +2 -1
- data/bin/lib/Image/ExifTool/QuickTime.pm +37 -11
- data/bin/lib/Image/ExifTool/RIFF.pm +15 -6
- data/bin/lib/Image/ExifTool/TagLookup.pm +25 -0
- data/bin/lib/Image/ExifTool/TagNames.pod +44 -8
- data/bin/lib/Image/ExifTool/WriteQuickTime.pl +10 -3
- data/bin/lib/Image/ExifTool/Writer.pl +9 -9
- data/bin/lib/Image/ExifTool/XMP.pm +22 -15
- data/bin/lib/Image/ExifTool/XMP2.pl +5 -1
- data/bin/lib/Image/ExifTool.pm +13 -7
- data/bin/lib/Image/ExifTool.pod +8 -41
- data/bin/perl-Image-ExifTool.spec +1 -1
- data/lib/exiftool_vendored/version.rb +1 -1
- metadata +2 -2
data/bin/lib/Image/ExifTool.pm
CHANGED
@@ -29,7 +29,7 @@ use vars qw($VERSION $RELEASE @ISA @EXPORT_OK %EXPORT_TAGS $AUTOLOAD @fileTypes
|
|
29
29
|
%jpegMarker %specialTags %fileTypeLookup $testLen $exeDir
|
30
30
|
%static_vars $advFmtSelf);
|
31
31
|
|
32
|
-
$VERSION = '13.
|
32
|
+
$VERSION = '13.26';
|
33
33
|
$RELEASE = '';
|
34
34
|
@ISA = qw(Exporter);
|
35
35
|
%EXPORT_TAGS = (
|
@@ -571,7 +571,7 @@ my %createTypes = map { $_ => 1 } qw(XMP ICC MIE VRD DR4 EXIF EXV);
|
|
571
571
|
XLTX => [['ZIP','FPX'], 'Office Open XML Spreadsheet Template'],
|
572
572
|
XMP => ['XMP', 'Extensible Metadata Platform'],
|
573
573
|
WOFF => ['Font', 'Web Open Font Format'],
|
574
|
-
WOFF2=> ['Font', 'Web Open Font
|
574
|
+
WOFF2=> ['Font', 'Web Open Font Format 2'],
|
575
575
|
WPG => ['WPG', 'WordPerfect Graphics'],
|
576
576
|
WTV => ['WTV', 'Windows recorded TV show'],
|
577
577
|
ZIP => ['ZIP', 'ZIP archive'],
|
@@ -1140,6 +1140,7 @@ my @availableOptions = (
|
|
1140
1140
|
[ 'IgnoreMinorErrors',undef, 'ignore minor errors when reading/writing' ],
|
1141
1141
|
[ 'IgnoreTags', undef, 'list of tags to ignore when extracting' ],
|
1142
1142
|
[ 'ImageHashType', 'MD5', 'image hash algorithm' ],
|
1143
|
+
[ 'KeepUTCTime', undef, 'do not convert times stored as UTC' ],
|
1143
1144
|
[ 'Lang', $defaultLang, 'localized language for descriptions etc' ],
|
1144
1145
|
[ 'LargeFileSupport', 1, 'flag indicating support of 64-bit file offsets' ],
|
1145
1146
|
[ 'LimitLongValues', 60, 'length limit for long values' ],
|
@@ -2597,6 +2598,8 @@ sub Options($$;@)
|
|
2597
2598
|
# add to existing plot settings
|
2598
2599
|
$newVal = "$oldVal,$newVal" if defined $oldVal and defined $newVal;
|
2599
2600
|
$$options{$param} = $newVal;
|
2601
|
+
} elsif ($param eq 'KeepUTCTime') {
|
2602
|
+
$$options{$param} = $static_vars{$param} = $newVal;
|
2600
2603
|
} elsif (lc $param eq 'geodir') {
|
2601
2604
|
$Image::ExifTool::Geolocation::geoDir = $newVal;
|
2602
2605
|
} else {
|
@@ -4255,7 +4258,7 @@ sub Init($)
|
|
4255
4258
|
my $self = shift;
|
4256
4259
|
# delete all DataMember variables (lower-case names)
|
4257
4260
|
delete $$self{$_} foreach grep /[a-z]/, keys %$self;
|
4258
|
-
|
4261
|
+
%static_vars = ( KeepUTCTime => $$self{OPTIONS}{KeepUTCTime} ); # reset static variables
|
4259
4262
|
delete $$self{FOUND_TAGS}; # list of found tags
|
4260
4263
|
delete $$self{EXIF_DATA}; # the EXIF data block
|
4261
4264
|
delete $$self{EXIF_POS}; # EXIF position in file
|
@@ -6690,12 +6693,15 @@ sub ConvertUnixTime($;$$)
|
|
6690
6693
|
$time = int($time + 1e-6) if $time != int($time); # avoid round-off errors
|
6691
6694
|
$dec = '';
|
6692
6695
|
}
|
6693
|
-
if ($toLocal) {
|
6694
|
-
@tm = localtime($time);
|
6695
|
-
$tz = TimeZoneString(\@tm, $time);
|
6696
|
-
} else {
|
6696
|
+
if (not $toLocal) {
|
6697
6697
|
@tm = gmtime($time);
|
6698
6698
|
$tz = '';
|
6699
|
+
} elsif ($static_vars{KeepUTCTime}) {
|
6700
|
+
@tm = gmtime($time);
|
6701
|
+
$tz = 'Z';
|
6702
|
+
} else {
|
6703
|
+
@tm = localtime($time);
|
6704
|
+
$tz = TimeZoneString(\@tm, $time);
|
6699
6705
|
}
|
6700
6706
|
my $str = sprintf("%4d:%.2d:%.2d %.2d:%.2d:%.2d$dec%s",
|
6701
6707
|
$tm[5]+1900, $tm[4]+1, $tm[3], $tm[2], $tm[1], $tm[0], $tz);
|
data/bin/lib/Image/ExifTool.pod
CHANGED
@@ -892,6 +892,12 @@ to undef to clear the previous IgnoreTags list. Default is undef.
|
|
892
892
|
Sets type of hash algorithm used for the ImageDataHash tag calculation.
|
893
893
|
Supported options are 'MD5', 'SHA256', and 'SHA512'. Default is 'MD5'.
|
894
894
|
|
895
|
+
=item KeepUTCTime
|
896
|
+
|
897
|
+
Flag to keep UTC times in Zulu time zone instead of converting to local
|
898
|
+
time. Affects only times which are stored as seconds since the UTC epoch.
|
899
|
+
Default is undef.
|
900
|
+
|
895
901
|
=item Lang
|
896
902
|
|
897
903
|
Localized language for exiftool tag descriptions, etc. Available languages
|
@@ -1314,17 +1320,7 @@ Extract all meta information from an image.
|
|
1314
1320
|
|
1315
1321
|
L</ExtractInfo> takes exactly the same arguments as L</ImageInfo>. The only
|
1316
1322
|
difference is that a list of tag keys is not returned if an ARRAY reference
|
1317
|
-
is given.
|
1318
|
-
L</ExtractInfo>:
|
1319
|
-
|
1320
|
-
Binary, Charset, CharsetEXIF, CharsetFileName, CharsetID3, CharsetIPTC,
|
1321
|
-
CharsetPhotoshop, CharsetQuickTime, CharsetRIFF, Composite, ExtendedXMP,
|
1322
|
-
ExtractEmbedded, FastScan, FixBase, HtmlDump, HtmlDumpBase, IgnoreGroups,
|
1323
|
-
IgnoreMinorErrors, IgnoreTags, Lang, LargeFileSupport, MakerNotes,
|
1324
|
-
MDItemTags, NoPDFList, Password, QuickTimeUTC (enforced 1904 time zero),
|
1325
|
-
RequestAll, RequestTags, SaveBin, SaveFormat, SavePath, ScanForXMP, Struct,
|
1326
|
-
TextOut, Unknown, Verbose, WindowsLongPath, WindowsWideFile, XAttrTags and
|
1327
|
-
XMPAutoConv.
|
1323
|
+
is given.
|
1328
1324
|
|
1329
1325
|
=item Return Value:
|
1330
1326
|
|
@@ -1356,11 +1352,7 @@ L</ImageInfo>.
|
|
1356
1352
|
=item Inputs:
|
1357
1353
|
|
1358
1354
|
Inputs are the same as L</ExtractInfo> and L</ImageInfo> except that an
|
1359
|
-
image can not be specified.
|
1360
|
-
|
1361
|
-
Charset, CoordFormat, DateFormat, Duplicates, Escape, Exclude, Filter,
|
1362
|
-
Group#, GlobalTimeShift, Lang, ListItem, ListJoin, PrintConv, Sort (if a tag
|
1363
|
-
list reference is given) and StrictDate.
|
1355
|
+
image can not be specified.
|
1364
1356
|
|
1365
1357
|
=item Return Value:
|
1366
1358
|
|
@@ -1368,13 +1360,6 @@ Reference to information hash, the same as with L</ImageInfo>.
|
|
1368
1360
|
|
1369
1361
|
=back
|
1370
1362
|
|
1371
|
-
The following options are effective in the call to L</GetInfo>:
|
1372
|
-
|
1373
|
-
Charset, CoordFormat, DateFormat, Duplicates, Escape, Exclude, Filter,
|
1374
|
-
Group#, GlobalTimeShift, Lang, ListItem, ListJoin, PrintConv, QuickTimeUTC
|
1375
|
-
(conversion to local time), Sort (if a tag list reference is given) and
|
1376
|
-
StrictDate.
|
1377
|
-
|
1378
1363
|
=head2 WriteInfo
|
1379
1364
|
|
1380
1365
|
Write meta information to a file. The specified source file is rewritten to
|
@@ -1459,13 +1444,6 @@ called with a source file name.
|
|
1459
1444
|
|
1460
1445
|
=back
|
1461
1446
|
|
1462
|
-
The following ExifTool options are effective in the call to L</WriteInfo>:
|
1463
|
-
|
1464
|
-
ByteOrder, Charset, CharsetEXIF, CharsetFileName, CharsetIPTC, Compact,
|
1465
|
-
Compress, FixBase, IgnoreMinorErrors, NoMultiExif, NoPDFList, Password,
|
1466
|
-
QuickTimeHandler, QuickTimePad, Verbose, WindowsLongPath, WindowsWideFile
|
1467
|
-
and WriteMode.
|
1468
|
-
|
1469
1447
|
=head2 GetTagList
|
1470
1448
|
|
1471
1449
|
Get a sorted list of tags from the specified information hash or tag list.
|
@@ -1588,12 +1566,6 @@ optional group specifier), use L</GetInfo> instead.
|
|
1588
1566
|
|
1589
1567
|
my @keywords = $exifTool->GetValue('Keywords', 'ValueConv');
|
1590
1568
|
|
1591
|
-
The following options are in effect when L</GetValue> is called:
|
1592
|
-
|
1593
|
-
Charset, CoordFormat, DateFormat, Escape, Filter, GlobalTimeShift, Lang,
|
1594
|
-
ListItem, ListJoin, PrintConv, QuickTimeUTC (conversion to local time),
|
1595
|
-
StrictDate and TimeZone.
|
1596
|
-
|
1597
1569
|
=over 4
|
1598
1570
|
|
1599
1571
|
=item Inputs:
|
@@ -1847,11 +1819,6 @@ explicitly, either by group (with 'Adobe:*') or as a block (with 'Adobe').
|
|
1847
1819
|
|
1848
1820
|
=back
|
1849
1821
|
|
1850
|
-
The following ExifTool options are effective in the call to L</SetNewValue>:
|
1851
|
-
|
1852
|
-
Charset, DateFormat, Escape, IgnoreMinorErrors, Lang, ListJoin, ListSplit,
|
1853
|
-
PrintConv, QuickTimeUTC, StrictDate, TimeZone, Verbose and WriteMode.
|
1854
|
-
|
1855
1822
|
=head2 GetNewValue
|
1856
1823
|
|
1857
1824
|
Get the new Raw value for a tag. This is the value set by L</SetNewValue>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exiftool_vendored
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.
|
4
|
+
version: 13.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew McEachen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-
|
12
|
+
date: 2025-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: exiftool
|