exiftool-vendored.exe 12.28.0 → 12.34.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.
- package/bin/exiftool_files/Changes +108 -5
- package/bin/exiftool_files/README +2 -2
- package/bin/exiftool_files/arg_files/xmp2exif.args +2 -1
- package/bin/exiftool_files/config_files/example.config +1 -1
- package/bin/exiftool_files/exiftool.pl +40 -26
- package/bin/exiftool_files/fmt_files/gpx.fmt +1 -1
- package/bin/exiftool_files/fmt_files/gpx_wpt.fmt +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/BuildTagLookup.pm +16 -3
- package/bin/exiftool_files/lib/Image/ExifTool/CBOR.pm +331 -0
- package/bin/exiftool_files/lib/Image/ExifTool/Canon.pm +35 -5
- package/bin/exiftool_files/lib/Image/ExifTool/Charset.pm +2 -0
- package/bin/exiftool_files/lib/Image/ExifTool/DPX.pm +13 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Exif.pm +98 -4
- package/bin/exiftool_files/lib/Image/ExifTool/FujiFilm.pm +1 -0
- package/bin/exiftool_files/lib/Image/ExifTool/Geotag.pm +13 -2
- package/bin/exiftool_files/lib/Image/ExifTool/GoPro.pm +16 -1
- package/bin/exiftool_files/lib/Image/ExifTool/ICC_Profile.pm +96 -4
- package/bin/exiftool_files/lib/Image/ExifTool/ID3.pm +15 -3
- package/bin/exiftool_files/lib/Image/ExifTool/JSON.pm +7 -3
- package/bin/exiftool_files/lib/Image/ExifTool/Jpeg2000.pm +60 -26
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/nl.pm +60 -59
- package/bin/exiftool_files/lib/Image/ExifTool/M2TS.pm +81 -14
- package/bin/exiftool_files/lib/Image/ExifTool/MacOS.pm +2 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Nikon.pm +12 -3
- package/bin/exiftool_files/lib/Image/ExifTool/NikonSettings.pm +10 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Olympus.pm +8 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Other.pm +93 -0
- package/bin/exiftool_files/lib/Image/ExifTool/PDF.pm +11 -12
- package/bin/exiftool_files/lib/Image/ExifTool/PNG.pm +7 -6
- package/bin/exiftool_files/lib/Image/ExifTool/Panasonic.pm +2 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Pentax.pm +2 -1
- package/bin/exiftool_files/lib/Image/ExifTool/QuickTime.pm +67 -9
- package/bin/exiftool_files/lib/Image/ExifTool/QuickTimeStream.pl +133 -119
- package/bin/exiftool_files/lib/Image/ExifTool/README +9 -2
- package/bin/exiftool_files/lib/Image/ExifTool/RIFF.pm +6 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Samsung.pm +47 -10
- package/bin/exiftool_files/lib/Image/ExifTool/Sony.pm +80 -32
- package/bin/exiftool_files/lib/Image/ExifTool/TagLookup.pm +139 -4
- package/bin/exiftool_files/lib/Image/ExifTool/TagNames.pod +224 -30
- package/bin/exiftool_files/lib/Image/ExifTool/WritePDF.pl +1 -0
- package/bin/exiftool_files/lib/Image/ExifTool/WritePNG.pl +2 -0
- package/bin/exiftool_files/lib/Image/ExifTool/WriteQuickTime.pl +17 -3
- package/bin/exiftool_files/lib/Image/ExifTool/Writer.pl +43 -0
- package/bin/exiftool_files/lib/Image/ExifTool/XMP.pm +21 -8
- package/bin/exiftool_files/lib/Image/ExifTool/XMP2.pl +4 -1
- package/bin/exiftool_files/lib/Image/ExifTool/XMPStruct.pl +3 -1
- package/bin/exiftool_files/lib/Image/ExifTool.pm +8892 -8839
- package/bin/exiftool_files/lib/Image/ExifTool.pod +24 -15
- package/package.json +3 -3
|
@@ -4,9 +4,112 @@ ExifTool Version History
|
|
|
4
4
|
|
|
5
5
|
RSS feed: https://exiftool.org/rss.xml
|
|
6
6
|
|
|
7
|
-
Note: The most recent production release is Version 12.
|
|
7
|
+
Note: The most recent production release is Version 12.30. (Other versions are
|
|
8
8
|
considered development releases, and are not uploaded to MetaCPAN.)
|
|
9
9
|
|
|
10
|
+
Oct. 27, 2021 - Version 12.34
|
|
11
|
+
|
|
12
|
+
- Added support for ICC.2:2019 (Profile version 5.0.0 - iccMAX) color profiles
|
|
13
|
+
- Added ability to detect/delete a Windows Zone.Identifier alternate data
|
|
14
|
+
stream (ADS) via the new ZoneIdentifier tag
|
|
15
|
+
- Added support for the Sony ILCE-7M4 (thanks Jos Roost)
|
|
16
|
+
- Added a new Sony lens (thanks LibRaw and Jos Roost)
|
|
17
|
+
- Added a new SonyModelID (thanks LibRaw)
|
|
18
|
+
- Added a new Canon RF lens (thanks Norbert Wasser)
|
|
19
|
+
- Improved handling of some SVG files
|
|
20
|
+
- Patched -overwrite_original_in_place option to open the output file in
|
|
21
|
+
update mode rather than write mode (to allow some write optimizations on
|
|
22
|
+
certain filesystems)
|
|
23
|
+
- Fixed case of tag ID for new XMP-iptcExt:EventID (thanks Michael Steidl)
|
|
24
|
+
- Fixed problem extracting ICC_Profile information from some PDF files
|
|
25
|
+
- API Changes:
|
|
26
|
+
- Added QuickTimePad option
|
|
27
|
+
|
|
28
|
+
Oct. 16, 2021 - Version 12.33
|
|
29
|
+
|
|
30
|
+
- Added support for DNG version 1.6.0.0
|
|
31
|
+
- Added two new Sony LensType values (thanks Jos Roost and LibRaw)
|
|
32
|
+
- Added some new elements to the XMP-crs:Look structure (thanks Herb)
|
|
33
|
+
- Added a few new IPTC XMP tags (thanks Michael Steidl)
|
|
34
|
+
- Added a new Canon RF lens (thanks Norbert Wasser)
|
|
35
|
+
- Decode Canon ShutterMode (thanks John Moyer)
|
|
36
|
+
- Extract LensModel from some Olympus MOV videos
|
|
37
|
+
- Generate MediaDataOffset/Size for MOV videos with zero-sized MDAT chunk
|
|
38
|
+
- Improvements to CBOR reader, including hex dump with -v3 option
|
|
39
|
+
- Recognize Final Cut Pro XML files
|
|
40
|
+
- Allow binary data of Protected tags to be extracted with the -X -j and -php
|
|
41
|
+
options with -b by setting the API RequestAll option to 3
|
|
42
|
+
- Changed name of "Canon EF 80-200mm f/4.5-5.6" lens with LensType 38 to add
|
|
43
|
+
"II" to the name (Exiv2 issue 1906)
|
|
44
|
+
- Fixed runtime warning when processing files with a .DIR extension
|
|
45
|
+
|
|
46
|
+
Sept. 30, 2021 - Version 12.32
|
|
47
|
+
|
|
48
|
+
- Added support for CBOR-format metadata in JUMBF (note that JUMBF support is
|
|
49
|
+
still experimental)
|
|
50
|
+
- Added a new Nikon LensID
|
|
51
|
+
- Added a new Pentax LensType
|
|
52
|
+
- Decode timed GPS for two more dashcam formats
|
|
53
|
+
- Support reference direction columns in -geotag CSV input
|
|
54
|
+
- Removed generation of GPSSpeedRef and GPSTrackRef tags in timed metadata for
|
|
55
|
+
most dashcam formats when speed is km/h and track is relative to true north
|
|
56
|
+
- Patched to allow writing of console output to named pipes
|
|
57
|
+
- Fixed formatting of InternalSerialNumber for some Panasonic cameras
|
|
58
|
+
- Fixed bug in arg_files/xmp2exif.args support file
|
|
59
|
+
|
|
60
|
+
Sept. 22, 2021 - Version 12.31
|
|
61
|
+
|
|
62
|
+
- Added a new SonyModelID and a couple of new Sony lenses (thanks Jos Roost)
|
|
63
|
+
- Added a new Canon LensType (thanks Chris Skopec)
|
|
64
|
+
- Added Composite GPSLatitude/Longitude tags for Sony videos to combine the
|
|
65
|
+
reference hemispheres as with the Composite tags for EXIF GPS
|
|
66
|
+
- Decode DPX AspectRatio
|
|
67
|
+
- Decode more GoPro MP4 tags
|
|
68
|
+
- Extract ICC_Profile from CS0 object in PDF files
|
|
69
|
+
- Extract encrypted GPS from Akaso V1 dashcam videos (can't yet decrypt)
|
|
70
|
+
- Improved handling of QuickTime iTunesInfo tags, and created new "iTunes"
|
|
71
|
+
family 1 group for these
|
|
72
|
+
- Patched so NoPDFList option also applies when writing
|
|
73
|
+
- Patched to allow user-defined PNG TextualData tags to be written only as iTXt
|
|
74
|
+
- Patched PDF reader to avoid concatenating values of multiple List-type tags
|
|
75
|
+
into a single tag
|
|
76
|
+
|
|
77
|
+
Aug. 12, 2021 - Version 12.30 (production release)
|
|
78
|
+
|
|
79
|
+
- Added read support for Portable FloatMap (PFM) images (this was a bit of a
|
|
80
|
+
pain because they have the same file extension as Printer Font Metrix files)
|
|
81
|
+
- Added a few new Nikon LensID values (thanks LibRaw)
|
|
82
|
+
- Added a new Canon LensType
|
|
83
|
+
- Added a new Olympus CameraType (thanks LibRaw)
|
|
84
|
+
- Added minor warning about unknown data between JPEG segments
|
|
85
|
+
- Added a couple of new NikonSettings tags (thanks Warren Hatch)
|
|
86
|
+
- Added a new Sony LensType (thanks Jos Roost)
|
|
87
|
+
- Decode 'id3 ' chunk in WAV audio files
|
|
88
|
+
- Decode timed GPS from concatenated Garmin dashcam videos
|
|
89
|
+
- Decode SamsungTrailer information from sefd atom in HEIC images
|
|
90
|
+
- Decode more Sony MakerNote tags for the ZV-E10 (thanks Jos Roost)
|
|
91
|
+
- Decode DepthMapTiff from JPEG images of more Samsung models
|
|
92
|
+
- Decode timed GPS from M2TS videos of yet another type of dashcam
|
|
93
|
+
- Extract PreviewImage from Xaiomi MP4 videos
|
|
94
|
+
- Changed name of second EmbeddedImage in Samsung trailer to EmbeddedImage2
|
|
95
|
+
- Improved Dutch translations for GPS tags (thanks Peter Dubbelman)
|
|
96
|
+
- Allow ICC_Profile to be "deleted" from AVIF files (actually, the profile
|
|
97
|
+
isn't really deleted. Instead, a zero-length profile is written to allow a
|
|
98
|
+
profile to be added back later since QuickTime item property containers
|
|
99
|
+
currently can't be created)
|
|
100
|
+
- Patched to remove 2 GB size limit when reading Photoshop ImageSourceData
|
|
101
|
+
|
|
102
|
+
July 9, 2021 - Version 12.29
|
|
103
|
+
|
|
104
|
+
- Added a few new Nikon and Olympus lenses (thanks LibRaw)
|
|
105
|
+
- Improved a QuickTime "File format error" message to be more meaningful, and
|
|
106
|
+
made it a minor error
|
|
107
|
+
- Changed PNG writer to add EXIF before IDAT
|
|
108
|
+
- Some changes the way JUMBF metadata is handled
|
|
109
|
+
- Patched to read timed GPS from a different type of INSV videos
|
|
110
|
+
- Patched a security issue
|
|
111
|
+
- Fixed problem where ExifTool could hang when processing mebx timed metadata
|
|
112
|
+
|
|
10
113
|
June 22, 2021 - Version 12.28
|
|
11
114
|
|
|
12
115
|
- Added read support for Leica Image File (LIF) images
|
|
@@ -27,7 +130,7 @@ June 9, 2021 - Version 12.27
|
|
|
27
130
|
- Added warning if IPTCDigest is not current
|
|
28
131
|
- Decode a couple more Pentax tags (thanks LibRaw)
|
|
29
132
|
- Decode streaming GPS from Novatek INNOVV MP4 and TS videos
|
|
30
|
-
- Improved tag names in
|
|
133
|
+
- Improved tag names in config_files/covert_regions.config (thanks StarGeek)
|
|
31
134
|
- Changed MIME types for MS Office macro-enabled formats to add the .12
|
|
32
135
|
- Patched Canon LensID logic to properly identify the Canon RF 24-105mm F4 L
|
|
33
136
|
IS USM lens
|
|
@@ -1417,8 +1520,8 @@ Oct. 9, 2018 - Version 11.13
|
|
|
1417
1520
|
- Added a new Canon LensType (thanks LibRaw)
|
|
1418
1521
|
- Minor improvements to verbose dump of streaming GPS metadata
|
|
1419
1522
|
- Reverted change of version 10.71 which resulted in Windows not recognizing
|
|
1420
|
-
PNG CreationTime as written by ExifTool (added this feature to the
|
|
1421
|
-
StrictDate
|
|
1523
|
+
PNG CreationTime as written by ExifTool (added this feature to the API
|
|
1524
|
+
StrictDate option instead)
|
|
1422
1525
|
- Improved decoding of Nikon CropHiSpeed (thanks LibRaw)
|
|
1423
1526
|
- Improved -fast option to reduce memory usage when reading JPG, PNG,
|
|
1424
1527
|
QuickTime-based and RIFF-based files via a sequential stream
|
|
@@ -1532,7 +1635,7 @@ June 21, 2018 - Version 11.03
|
|
|
1532
1635
|
June 13, 2018 - Version 11.02
|
|
1533
1636
|
|
|
1534
1637
|
- Added support for a different format of Apple iWorks files
|
|
1535
|
-
- Added undocumented FixCorruptedMOV
|
|
1638
|
+
- Added undocumented API FixCorruptedMOV option to allow fixing MOV videos
|
|
1536
1639
|
with multiple 'mdat' atoms which were corrupted by ExifTool
|
|
1537
1640
|
- Decode more QuickTime tags
|
|
1538
1641
|
- Decode more PanasonicRaw tags (thanks Klaus Homeister)
|
|
@@ -107,8 +107,8 @@ your home directory, then you would type the following commands in a
|
|
|
107
107
|
terminal window to extract and run ExifTool:
|
|
108
108
|
|
|
109
109
|
cd ~/Desktop
|
|
110
|
-
gzip -dc Image-ExifTool-12.
|
|
111
|
-
cd Image-ExifTool-12.
|
|
110
|
+
gzip -dc Image-ExifTool-12.34.tar.gz | tar -xf -
|
|
111
|
+
cd Image-ExifTool-12.34
|
|
112
112
|
./exiftool t/images/ExifTool.jpg
|
|
113
113
|
|
|
114
114
|
Note: These commands extract meta information from one of the test images.
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# 2015/01/12 - PH Avoid copying from non-standard namespaces
|
|
14
14
|
# 2016/09/26 - PH Write Composite SubSec tags
|
|
15
15
|
# 2018/05/07 - PH Added support for GPSDestXxxRef tags
|
|
16
|
+
# 2021/09/30 - PH Removed erroneous "-" when copying CreatorTool
|
|
16
17
|
#
|
|
17
18
|
# References: http://www.metadataworkinggroup.org/specs/
|
|
18
19
|
#
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
-Composite:SubSecDateTimeOriginal < XMP-photoshop:DateCreated
|
|
35
36
|
-Composite:SubSecCreateDate < XMP-xmp:CreateDate
|
|
36
37
|
-Composite:SubSecModifyDate < XMP-xmp:ModifyDate
|
|
37
|
-
-EXIF:Software <
|
|
38
|
+
-EXIF:Software < XMP-xmp:CreatorTool
|
|
38
39
|
-EXIF:Copyright < XMP-dc:Rights
|
|
39
40
|
-EXIF:Artist < XMP-dc:Creator
|
|
40
41
|
# XMP flash information is translated by the Composite Flash tag
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
use strict;
|
|
11
11
|
require 5.004;
|
|
12
12
|
|
|
13
|
-
my $version = '12.
|
|
13
|
+
my $version = '12.34';
|
|
14
14
|
|
|
15
15
|
# add our 'lib' directory to the include list BEFORE 'use Image::ExifTool'
|
|
16
16
|
my $exeDir;
|
|
@@ -1619,7 +1619,7 @@ if (@newValues) {
|
|
|
1619
1619
|
next;
|
|
1620
1620
|
}
|
|
1621
1621
|
my %opts = ( Shift => 0 ); # shift values if possible instead of adding/deleting
|
|
1622
|
-
# allow writing of '
|
|
1622
|
+
# allow writing of 'Unsafe' tags unless specified by wildcard
|
|
1623
1623
|
$opts{Protected} = 1 unless $tag =~ /[?*]/;
|
|
1624
1624
|
|
|
1625
1625
|
if ($tag =~ s/<// and defined $newVal) {
|
|
@@ -1954,10 +1954,19 @@ sub GetImageInfo($$)
|
|
|
1954
1954
|
my $pipe = $file;
|
|
1955
1955
|
if ($doUnzip) {
|
|
1956
1956
|
# pipe through gzip or bzip2 if necessary
|
|
1957
|
-
if ($file =~ /\.gz$/i) {
|
|
1958
|
-
$
|
|
1959
|
-
|
|
1960
|
-
|
|
1957
|
+
if ($file =~ /\.(gz|bz2)$/i) {
|
|
1958
|
+
my $type = lc $1;
|
|
1959
|
+
if ($file =~ /[^-_.'A-Za-z0-9\/\\]/) {
|
|
1960
|
+
Warn "Error: Insecure zip file name. Skipped\n";
|
|
1961
|
+
EFile($file);
|
|
1962
|
+
++$countBad;
|
|
1963
|
+
return;
|
|
1964
|
+
}
|
|
1965
|
+
if ($type eq 'gz') {
|
|
1966
|
+
$pipe = qq{gzip -dc "$file" |};
|
|
1967
|
+
} else {
|
|
1968
|
+
$pipe = qq{bzip2 -dc "$file" |};
|
|
1969
|
+
}
|
|
1961
1970
|
}
|
|
1962
1971
|
}
|
|
1963
1972
|
# evaluate -if expression for conditional processing
|
|
@@ -2276,7 +2285,7 @@ TAG: foreach $tag (@foundTags) {
|
|
|
2276
2285
|
# avoid extracting Protected binary tags (eg. data blocks) [insider information]
|
|
2277
2286
|
my $lcTag = lc $tag;
|
|
2278
2287
|
$lcTag =~ s/ .*//;
|
|
2279
|
-
next unless $$et{REQ_TAG_LOOKUP}{$lcTag};
|
|
2288
|
+
next unless $$et{REQ_TAG_LOOKUP}{$lcTag} or ($$et{OPTIONS}{RequestAll} || 0) > 2;
|
|
2280
2289
|
}
|
|
2281
2290
|
$val = ConvertBinary($val); # convert SCALAR references
|
|
2282
2291
|
next unless defined $val;
|
|
@@ -3052,12 +3061,14 @@ sub SetImageInfo($$$)
|
|
|
3052
3061
|
# temporarily disable CTRL-C during this critical operation
|
|
3053
3062
|
$critical = 1;
|
|
3054
3063
|
undef $tmpFile; # handle deletion of temporary file ourself
|
|
3055
|
-
if ($et->Open(\*ORIG_FILE, $file, '
|
|
3064
|
+
if ($et->Open(\*ORIG_FILE, $file, '+<')) {
|
|
3056
3065
|
binmode(ORIG_FILE);
|
|
3057
3066
|
while (read(NEW_FILE, $buff, 65536)) {
|
|
3058
3067
|
print ORIG_FILE $buff or $err = 1;
|
|
3059
3068
|
}
|
|
3060
3069
|
close(NEW_FILE);
|
|
3070
|
+
# Handle files being shorter than the original
|
|
3071
|
+
eval { truncate(ORIG_FILE, tell(ORIG_FILE)) } or $err = 1;
|
|
3061
3072
|
close(ORIG_FILE) or $err = 1;
|
|
3062
3073
|
if ($err) {
|
|
3063
3074
|
Warn "Couldn't overwrite in place - $file\n";
|
|
@@ -3241,7 +3252,8 @@ sub FormatXML($$$)
|
|
|
3241
3252
|
} elsif (ref $val eq 'HASH') {
|
|
3242
3253
|
$gt = " rdf:parseType='Resource'>";
|
|
3243
3254
|
my $val2 = '';
|
|
3244
|
-
|
|
3255
|
+
my @keys = $$val{_ordered_keys_} ? @{$$val{_ordered_keys_}} : sort keys %$val;
|
|
3256
|
+
foreach (@keys) {
|
|
3245
3257
|
# (some variable-namespace XML structure fields may have a different group)
|
|
3246
3258
|
my $tok = /:/ ? $_ : ($grp . ':' . $_);
|
|
3247
3259
|
$val2 .= "\n$ind <$tok" . FormatXML($$val{$_}, "$ind ", $grp) . "</$tok>";
|
|
@@ -3318,7 +3330,8 @@ sub FormatJSON($$$)
|
|
|
3318
3330
|
} elsif (ref $val eq 'HASH') {
|
|
3319
3331
|
my ($bra, $ket, $sep) = $json == 1 ? ('{','}',':') : ('Array(',')',' =>');
|
|
3320
3332
|
print $fp $bra;
|
|
3321
|
-
|
|
3333
|
+
my @keys = $$val{_ordered_keys_} ? @{$$val{_ordered_keys_}} : sort keys %$val;
|
|
3334
|
+
foreach (@keys) {
|
|
3322
3335
|
print $fp ',' if $comma;
|
|
3323
3336
|
my $key = EscapeJSON($_, 1);
|
|
3324
3337
|
print $fp qq(\n$ind $key$sep );
|
|
@@ -4729,12 +4742,13 @@ OPTIONS
|
|
|
4729
4742
|
names, prefixed by optional family numbers, and separated colons.
|
|
4730
4743
|
If no group name is specified, the tag is created in the preferred
|
|
4731
4744
|
group, and updated in any other location where a same-named tag
|
|
4732
|
-
already exists. The preferred group
|
|
4733
|
-
following list where *TAG* is valid: 1)
|
|
4745
|
+
already exists. The preferred group in JPEG and TIFF-format images
|
|
4746
|
+
is the first group in the following list where *TAG* is valid: 1)
|
|
4747
|
+
EXIF, 2) IPTC, 3) XMP.
|
|
4734
4748
|
|
|
4735
4749
|
The wildcards "*" and "?" may be used in tag names to assign the
|
|
4736
4750
|
same value to multiple tags. When specified with wildcards,
|
|
4737
|
-
"
|
|
4751
|
+
"Unsafe" tags are not written. A tag name of "All" is equivalent to
|
|
4738
4752
|
"*" (except that it doesn't require quoting, while arguments with
|
|
4739
4753
|
wildcards do on systems with shell globbing), and is often used
|
|
4740
4754
|
when deleting all metadata (ie. "-All=") or an entire group (eg.
|
|
@@ -4889,9 +4903,9 @@ OPTIONS
|
|
|
4889
4903
|
Notes:
|
|
4890
4904
|
|
|
4891
4905
|
1) Some tags (generally tags which may affect the appearance of the
|
|
4892
|
-
image) are considered "
|
|
4906
|
+
image) are considered "Unsafe" to write, and are only copied if
|
|
4893
4907
|
specified explicitly (ie. no wildcards). See the tag name
|
|
4894
|
-
documentation for more details about "
|
|
4908
|
+
documentation for more details about "Unsafe" tags.
|
|
4895
4909
|
|
|
4896
4910
|
2) Be aware of the difference between excluding a tag from being
|
|
4897
4911
|
copied (--*TAG*), and deleting a tag (-*TAG*=). Excluding a tag
|
|
@@ -4989,7 +5003,7 @@ OPTIONS
|
|
|
4989
5003
|
exiftool -@ out.args -sep ", " dst.jpg
|
|
4990
5004
|
|
|
4991
5005
|
Note: Be careful when copying information with this technique since
|
|
4992
|
-
it is easy to write tags which are normally considered "
|
|
5006
|
+
it is easy to write tags which are normally considered "Unsafe".
|
|
4993
5007
|
For instance, the FileName and Directory tags are excluded in the
|
|
4994
5008
|
example above to avoid renaming and moving the destination file.
|
|
4995
5009
|
Also note that the second command above will produce warning
|
|
@@ -5009,9 +5023,9 @@ OPTIONS
|
|
|
5009
5023
|
output. By default, list items are separated by a newline when
|
|
5010
5024
|
extracted with the -b option, but this may be changed (see the -sep
|
|
5011
5025
|
option for details). May be combined with -j, -php or -X to extract
|
|
5012
|
-
binary data in JSON, PHP or XML format, but note that "
|
|
5013
|
-
|
|
5014
|
-
|
|
5026
|
+
binary data in JSON, PHP or XML format, but note that "Unsafe" tags
|
|
5027
|
+
are not extracted as binary unless they are specified explicitly or
|
|
5028
|
+
the API RequestAll option is set to 3 or higher.
|
|
5015
5029
|
|
|
5016
5030
|
With a leading double dash (--b or --binary), tags which contain
|
|
5017
5031
|
binary data are suppressed in the output when reading.
|
|
@@ -5215,7 +5229,7 @@ OPTIONS
|
|
|
5215
5229
|
collapsing adjacent identical group names, but this can be avoided
|
|
5216
5230
|
by placing a colon before the first family number (eg. -g:3:1). Use
|
|
5217
5231
|
the -listg option to list group names for a specified family. The
|
|
5218
|
-
SavePath and SaveFormat
|
|
5232
|
+
API SavePath and SaveFormat options are automatically enabled if
|
|
5219
5233
|
the respective family 5 or 6 group names are requested. See the API
|
|
5220
5234
|
GetGroup documentation for more information.
|
|
5221
5235
|
|
|
@@ -5421,7 +5435,7 @@ OPTIONS
|
|
|
5421
5435
|
|
|
5422
5436
|
produces output like this:
|
|
5423
5437
|
|
|
5424
|
-
-- Generated by ExifTool 12.
|
|
5438
|
+
-- Generated by ExifTool 12.34 --
|
|
5425
5439
|
File: a.jpg - 2003:10:31 15:44:19
|
|
5426
5440
|
(f/5.6, 1/60s, ISO 100)
|
|
5427
5441
|
File: b.jpg - 2006:05:23 11:57:38
|
|
@@ -5438,7 +5452,7 @@ OPTIONS
|
|
|
5438
5452
|
If a specified tag does not exist, a minor warning is issued and
|
|
5439
5453
|
the line with the missing tag is not printed. However, the -f
|
|
5440
5454
|
option may be used to set the value of missing tags to '-' (but
|
|
5441
|
-
this may be configured via the MissingTagValue
|
|
5455
|
+
this may be configured via the API MissingTagValue option), or the
|
|
5442
5456
|
-m option may be used to ignore minor warnings and leave the
|
|
5443
5457
|
missing values empty. Alternatively, -q -q may be used to simply
|
|
5444
5458
|
suppress the warning messages.
|
|
@@ -5743,9 +5757,9 @@ OPTIONS
|
|
|
5743
5757
|
|
|
5744
5758
|
Note: This output is NOT the same as XMP because it uses
|
|
5745
5759
|
dynamically-generated property names corresponding to the ExifTool
|
|
5746
|
-
tag names
|
|
5747
|
-
|
|
5748
|
-
file.
|
|
5760
|
+
tag names with ExifTool family 1 group names as namespaces, and not
|
|
5761
|
+
the standard XMP properties and namespaces. To write XMP instead,
|
|
5762
|
+
use the -o option with an XMP extension for the output file.
|
|
5749
5763
|
|
|
5750
5764
|
Processing control
|
|
5751
5765
|
-a, --a (-duplicates, --duplicates)
|
|
@@ -6364,7 +6378,7 @@ OPTIONS
|
|
|
6364
6378
|
-efile[*NUM*][!] *ERRFILE*
|
|
6365
6379
|
Save the names of files giving errors (*NUM* missing or 1), files
|
|
6366
6380
|
that were unchanged (*NUM* is 2), files that fail the -if condition
|
|
6367
|
-
(*NUM* is 4), or any combination thereof
|
|
6381
|
+
(*NUM* is 4), or any combination thereof by summing *NUM* (eg.
|
|
6368
6382
|
-efile3 is the same has having both -efile and -efile2 options with
|
|
6369
6383
|
the same *ERRFILE*). By default, file names are appended to any
|
|
6370
6384
|
existing *ERRFILE*, but *ERRFILE* is overwritten if an exclamation
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
# 2019/10/24 - PH Preserve sub-seconds in GPSDateTime value
|
|
14
14
|
#
|
|
15
15
|
# Notes: 1) Input file(s) must contain GPSLatitude and GPSLongitude.
|
|
16
|
-
# 2) The -
|
|
16
|
+
# 2) The -ee3 option is to extract the full track from video files.
|
|
17
17
|
# 3) The -fileOrder option may be used to control the order of the
|
|
18
18
|
# generated track points when processing multiple files.
|
|
19
19
|
#------------------------------------------------------------------------------
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# 2019/10/24 - PH Preserve sub-seconds in GPSDateTime value
|
|
15
15
|
#
|
|
16
16
|
# Notes: 1) Input file(s) must contain GPSLatitude and GPSLongitude.
|
|
17
|
-
# 2) The -
|
|
17
|
+
# 2) The -ee3 option is to extract the full track from video files.
|
|
18
18
|
# 3) The -fileOrder option may be used to control the order of the
|
|
19
19
|
# generated track points when processing multiple files.
|
|
20
20
|
#------------------------------------------------------------------------------
|
|
@@ -35,7 +35,7 @@ use Image::ExifTool::Sony;
|
|
|
35
35
|
use Image::ExifTool::Validate;
|
|
36
36
|
use Image::ExifTool::MacOS;
|
|
37
37
|
|
|
38
|
-
$VERSION = '3.
|
|
38
|
+
$VERSION = '3.46';
|
|
39
39
|
@ISA = qw(Exporter);
|
|
40
40
|
|
|
41
41
|
sub NumbersFirst($$);
|
|
@@ -68,6 +68,7 @@ my %tweakOrder = (
|
|
|
68
68
|
IPTC => 'Exif', # put IPTC after EXIF,
|
|
69
69
|
GPS => 'XMP', # etc...
|
|
70
70
|
Composite => 'Extra',
|
|
71
|
+
CBOR => 'JSON',
|
|
71
72
|
GeoTiff => 'GPS',
|
|
72
73
|
CanonVRD=> 'CanonCustom',
|
|
73
74
|
DJI => 'Casio',
|
|
@@ -459,7 +460,7 @@ According to the specification, integer-format QuickTime date/time tags
|
|
|
459
460
|
should be stored as UTC. Unfortunately, digital cameras often store local
|
|
460
461
|
time values instead (presumably because they don't know the time zone). For
|
|
461
462
|
this reason, by default ExifTool does not assume a time zone for these
|
|
462
|
-
values. However, if the L<QuickTimeUTC|../ExifTool.html#QuickTimeUTC>
|
|
463
|
+
values. However, if the API L<QuickTimeUTC|../ExifTool.html#QuickTimeUTC> option is set, then ExifTool will
|
|
463
464
|
assume these values are properly stored as UTC, and will convert them to
|
|
464
465
|
local time when extracting.
|
|
465
466
|
|
|
@@ -468,6 +469,11 @@ the PrintConv option is enabled and no time zone is specified. This is
|
|
|
468
469
|
because Apple software may display crazy values if the time zone is missing
|
|
469
470
|
for some tags.
|
|
470
471
|
|
|
472
|
+
By default ExifTool will remove null padding from some QuickTime containers
|
|
473
|
+
in Canon CR3 files when writing, but the
|
|
474
|
+
L<QuickTimePad|../ExifTool.html#QuickTimePad> option may be used to preserve
|
|
475
|
+
the original size by padding with nulls if necessary.
|
|
476
|
+
|
|
471
477
|
See
|
|
472
478
|
L<https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/>
|
|
473
479
|
for the official specification.
|
|
@@ -2117,7 +2123,7 @@ sub WriteTagNames($$)
|
|
|
2117
2123
|
$short = $$shortName{$tableName};
|
|
2118
2124
|
my @names = split ' ', $short;
|
|
2119
2125
|
my $class = shift @names;
|
|
2120
|
-
if (@names) {
|
|
2126
|
+
if (@names and $class ne 'Other') {
|
|
2121
2127
|
# add heading for tables without a Main
|
|
2122
2128
|
unless ($heading eq $class) {
|
|
2123
2129
|
$heading = $class;
|
|
@@ -2145,6 +2151,13 @@ sub WriteTagNames($$)
|
|
|
2145
2151
|
$short = $$shortName{$tableName};
|
|
2146
2152
|
$short = $tableName unless $short;
|
|
2147
2153
|
$url = "$short.html";
|
|
2154
|
+
# handle various tables in "Other.pm"
|
|
2155
|
+
if ($short =~ /^Other (.*)/) {
|
|
2156
|
+
$short = $1;
|
|
2157
|
+
$url = 'Other.html#' . $1;
|
|
2158
|
+
} else {
|
|
2159
|
+
$url = "$short.html";
|
|
2160
|
+
}
|
|
2148
2161
|
print HTMLFILE "<a href='${url}'>$short</a>";
|
|
2149
2162
|
++$count;
|
|
2150
2163
|
}
|