exiftool_vendored 12.62.0 → 12.63.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.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +29 -1
  3. data/bin/MANIFEST +1 -0
  4. data/bin/META.json +4 -1
  5. data/bin/META.yml +4 -1
  6. data/bin/Makefile.PL +7 -1
  7. data/bin/README +10 -7
  8. data/bin/exiftool +22 -16
  9. data/bin/lib/Image/ExifTool/7Z.pm +793 -0
  10. data/bin/lib/Image/ExifTool/Canon.pm +1 -0
  11. data/bin/lib/Image/ExifTool/CanonRaw.pm +4 -4
  12. data/bin/lib/Image/ExifTool/Exif.pm +31 -14
  13. data/bin/lib/Image/ExifTool/FujiFilm.pm +3 -3
  14. data/bin/lib/Image/ExifTool/GPS.pm +5 -2
  15. data/bin/lib/Image/ExifTool/Geotag.pm +4 -1
  16. data/bin/lib/Image/ExifTool/Jpeg2000.pm +225 -28
  17. data/bin/lib/Image/ExifTool/MPF.pm +2 -1
  18. data/bin/lib/Image/ExifTool/MinoltaRaw.pm +2 -2
  19. data/bin/lib/Image/ExifTool/PNG.pm +6 -6
  20. data/bin/lib/Image/ExifTool/PhaseOne.pm +5 -5
  21. data/bin/lib/Image/ExifTool/QuickTime.pm +41 -12
  22. data/bin/lib/Image/ExifTool/QuickTimeStream.pl +18 -18
  23. data/bin/lib/Image/ExifTool/README +1 -1
  24. data/bin/lib/Image/ExifTool/RIFF.pm +11 -9
  25. data/bin/lib/Image/ExifTool/Shortcuts.pm +2 -1
  26. data/bin/lib/Image/ExifTool/SigmaRaw.pm +4 -4
  27. data/bin/lib/Image/ExifTool/Sony.pm +102 -8
  28. data/bin/lib/Image/ExifTool/TagLookup.pm +982 -953
  29. data/bin/lib/Image/ExifTool/TagNames.pod +75 -5
  30. data/bin/lib/Image/ExifTool/Validate.pm +17 -1
  31. data/bin/lib/Image/ExifTool/WriteExif.pl +9 -7
  32. data/bin/lib/Image/ExifTool/Writer.pl +7 -6
  33. data/bin/lib/Image/ExifTool/XMP.pm +14 -2
  34. data/bin/lib/Image/ExifTool/XMP2.pl +32 -0
  35. data/bin/lib/Image/ExifTool/ZIP.pm +5 -5
  36. data/bin/lib/Image/ExifTool.pm +54 -33
  37. data/bin/lib/Image/ExifTool.pod +17 -6
  38. data/bin/perl-Image-ExifTool.spec +6 -6
  39. data/lib/exiftool_vendored/version.rb +1 -1
  40. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9425d3689f85ae893c11f1e1ebb63d8392eefe696b6ff685a35536da9b2b79c
4
- data.tar.gz: a343f14b8c717420458456579562c12d399c0687865a6e54ea5df8945b096e66
3
+ metadata.gz: 5bcdd4158df5698b7521e14641fdcfe659cb5bed67734064a451c9fac1d0fc62
4
+ data.tar.gz: 78ef5d31656980e6be8ecd87203592f552e6e7e61c75b88c244d8099a88f1e48
5
5
  SHA512:
6
- metadata.gz: 559fb2be9a0a2c441ff8e12fd13dd077825c71655a9e99407f602e2ecaae8f997cb9475b3bb5a79dddec1897a9f22ef3c9d9506b8df885da5ee4dfc9baad1a7d
7
- data.tar.gz: bcd3a86f5375904081c86ef8c4904bf6cf5283d4f67519df0d05711b456ab63721dd0412fe6c46d7c2774919e0f4b13a00e8eb745253937c252a86fac423182e
6
+ metadata.gz: b18bf009aab420d9d2f2d6e97cd48dfc03d51891e4bf1671bb6c623c592e820065f8391aaa874c257405d57844a652a11275541968a17dde22bf131ed849fe3b
7
+ data.tar.gz: d197476c398027c729b30c0f7fb6ddc91d61ae87e9c5097ca7a5dc93858a37b56ffbdbb26753fe28baa54db806c118043cbbc638ce8b41f21b144a60646e0abe
data/bin/Changes CHANGED
@@ -7,11 +7,39 @@ RSS feed: https://exiftool.org/rss.xml
7
7
  Note: The most recent production release is Version 12.60. (Other versions are
8
8
  considered development releases, and are not uploaded to MetaCPAN.)
9
9
 
10
+ June 8, 2023 - Version 12.63
11
+
12
+ - Added ability to read/write/create Brotli-compressed metadata in JXL images
13
+ (requires IO::Compress::Brotli)
14
+ - Added partial support for Exif 3.0 specification:
15
+ - Added new EXIF tags
16
+ - Added MPF Original Preservation Image type
17
+ - Support for reading 'utf8' values (but still write only as 'string')
18
+ - Added support for Adobe HDR Gain Map (hdrgm) XMP tags
19
+ - Added support for reading 7z files (thanks Amir Gooran, github #205) (but
20
+ currently this doesn't work for the Windows .exe version because I haven't
21
+ been able to install Compress::Raw::Lzma for ActivePerl)
22
+ - Added XMP-panorama tags
23
+ - Added warning if -csv is used with -p
24
+ - Added warning if trying to geotag from a UTF-16 track log
25
+ - Decode ImageWidth/Height from JXL images using partial codestreams
26
+ - Decode more Sony tags for some newer models (thanks Jos Roost)
27
+ - Extract GainMapImage (hrgm box) from JXL files
28
+ - Extract Guano information from WAV files
29
+ - Enhanced ImageDataMD5 feature and renamed to ImageDataHash (with
30
+ ImageDataMD5 alias for backward compatibility)
31
+ - Changed RARVersion tag name to FileVersion
32
+ - Fixed bug introduced in 12.46 which could cause a hang when reading a
33
+ corrupted RIFF-based file
34
+ - Fixed writing of Composition:GPSPosition when -n is used
35
+ - API Changes:
36
+ - Added ImageHashType option
37
+
10
38
  May 3, 2023 - Version 12.62
11
39
 
12
40
  - Added basic read support for WPG images
13
41
  - Added ImageDataMD5 support for HEIC images
14
- - Added support for RAR version 5.0 compressed files (thanks Amir Gooran)
42
+ - Added support for RAR version 5.0 files (thanks Amir Gooran, github #203)
15
43
  - Added a few new XMP-aux tags (thanks John Ellis)
16
44
  - Made Composite tags available for use in -fileNUM argument
17
45
  - Better handling of FlashPix VT_EMPTY value
data/bin/MANIFEST CHANGED
@@ -211,6 +211,7 @@ lib/File/RandomAccess.pm
211
211
  lib/File/RandomAccess.pod
212
212
  lib/Image/ExifTool.pm
213
213
  lib/Image/ExifTool.pod
214
+ lib/Image/ExifTool/7Z.pm
214
215
  lib/Image/ExifTool/AES.pm
215
216
  lib/Image/ExifTool/AFCP.pm
216
217
  lib/Image/ExifTool/AIFF.pm
data/bin/META.json CHANGED
@@ -33,10 +33,13 @@
33
33
  "runtime" : {
34
34
  "recommends" : {
35
35
  "Archive::Zip" : "0",
36
+ "Compress::Raw::Lzma" : "0",
36
37
  "Compress::Zlib" : "0",
37
38
  "Digest::MD5" : "0",
38
39
  "Digest::SHA" : "0",
40
+ "IO::Compress::Brotli" : "0",
39
41
  "IO::Compress::RawDeflate" : "0",
42
+ "IO::Uncompress::Brotli" : "0",
40
43
  "IO::Uncompress::RawInflate" : "0",
41
44
  "POSIX::strptime" : "0",
42
45
  "Time::HiRes" : "0"
@@ -47,5 +50,5 @@
47
50
  }
48
51
  },
49
52
  "release_status" : "stable",
50
- "version" : "12.62"
53
+ "version" : "12.63"
51
54
  }
data/bin/META.yml CHANGED
@@ -19,13 +19,16 @@ no_index:
19
19
  - inc
20
20
  recommends:
21
21
  Archive::Zip: 0
22
+ Compress::Raw::Lzma: 0
22
23
  Compress::Zlib: 0
23
24
  Digest::MD5: 0
24
25
  Digest::SHA: 0
26
+ IO::Compress::Brotli: 0
25
27
  IO::Compress::RawDeflate: 0
28
+ IO::Uncompress::Brotli: 0
26
29
  IO::Uncompress::RawInflate: 0
27
30
  POSIX::strptime: 0
28
31
  Time::HiRes: 0
29
32
  requires:
30
33
  perl: 5.004
31
- version: 12.62
34
+ version: 12.63
data/bin/Makefile.PL CHANGED
@@ -17,8 +17,11 @@ WriteMakefile(
17
17
  " Digest::SHA: 0\n" .
18
18
  " Time::HiRes: 0\n" .
19
19
  " POSIX::strptime: 0\n" .
20
+ " Compress::Raw::Lzma: 0\n" .
20
21
  " IO::Compress::RawDeflate: 0\n" .
21
- " IO::Uncompress::RawInflate: 0\n" ,
22
+ " IO::Uncompress::RawInflate: 0\n" .
23
+ " IO::Compress::Brotli: 0\n" .
24
+ " IO::Uncompress::Brotli: 0\n",
22
25
  # (not worth recommending -- only for column alignment of some languages)
23
26
  # " Unicode::LineBreak: 0\n",
24
27
  # (not worth recommending -- only for Rawzor files)
@@ -33,8 +36,11 @@ WriteMakefile(
33
36
  'Digest::SHA' => 0,
34
37
  'Time::HiRes' => 0,
35
38
  'POSIX::strptime' => 0,
39
+ 'Compress::Raw::Lzma' => 0,
36
40
  'IO::Compress::RawDeflate' => 0,
37
41
  'IO::Uncompress::RawInflate' => 0,
42
+ 'IO::Compress::Brotli' => 0,
43
+ 'IO::Uncompress::Brotli' => 0,
38
44
  # 'Unicode::LineBreak' => 0,
39
45
  # 'IO::Compress::Bzip2' => 0,
40
46
  },
data/bin/README CHANGED
@@ -14,10 +14,11 @@ supported by ExifTool (r = read, w = write, c = create):
14
14
 
15
15
  File Types
16
16
  ------------+-------------+-------------+-------------+------------
17
- 360 r/w | DR4 r/w/c | JNG r/w | ODP r | RSRC r
18
- 3FR r | DSS r | JP2 r/w | ODS r | RTF r
19
- 3G2 r/w | DV r | JPEG r/w | ODT r | RW2 r/w
20
- 3GP r/w | DVB r/w | JSON r | OFR r | RWL r/w
17
+ 360 r/w | DPX r | J2C r | O r | RIFF r
18
+ 3FR r | DR4 r/w/c | JNG r/w | ODP r | RSRC r
19
+ 3G2 r/w | DSS r | JP2 r/w | ODS r | RTF r
20
+ 3GP r/w | DV r | JPEG r/w | ODT r | RW2 r/w
21
+ 7Z r | DVB r/w | JSON r | OFR r | RWL r/w
21
22
  A r | DVR-MS r | JXL r | OGG r | RWZ r
22
23
  AA r | DYLIB r | K25 r | OGV r | RM r
23
24
  AAE r | EIP r | KDC r | ONP r | SEQ r
@@ -56,7 +57,6 @@ supported by ExifTool (r = read, w = write, c = create):
56
57
  DNG r/w | INX r | NKSC r/w | RAM r |
57
58
  DOC r | ISO r | NRW r/w | RAR r |
58
59
  DOCX r | ITC r | NUMBERS r | RAW r/w |
59
- DPX r | J2C r | O r | RIFF r |
60
60
 
61
61
  Meta Information
62
62
  ----------------------+----------------------+---------------------
@@ -108,8 +108,8 @@ your home directory, then you would type the following commands in a
108
108
  terminal window to extract and run ExifTool:
109
109
 
110
110
  cd ~/Desktop
111
- gzip -dc Image-ExifTool-12.62.tar.gz | tar -xf -
112
- cd Image-ExifTool-12.62
111
+ gzip -dc Image-ExifTool-12.63.tar.gz | tar -xf -
112
+ cd Image-ExifTool-12.63
113
113
  ./exiftool t/images/ExifTool.jpg
114
114
 
115
115
  Note: These commands extract meta information from one of the test images.
@@ -158,8 +158,11 @@ for calculating digest values and providing other features listed below:
158
158
  Win32::API (for proper handling of Windows file times)
159
159
  Win32::FindFile (for Windows Unicode directory support, app only)
160
160
  Win32API::File (for Windows Unicode file names and file times)
161
+ Compress::Raw::Lzma (for reading encoded 7z files)
161
162
  IO::Compress::RawDeflate (for writing FLIF images)
162
163
  IO::Uncompress::RawInflate (for reading FLIF images)
164
+ IO::Compress::Brotli (for writing compressed JXL metadata)
165
+ IO::Uncompress::Brotli (for reading compressed JXL metadata)
163
166
 
164
167
  COPYRIGHT AND LICENSE
165
168
 
data/bin/exiftool CHANGED
@@ -11,7 +11,7 @@ use strict;
11
11
  use warnings;
12
12
  require 5.004;
13
13
 
14
- my $version = '12.62';
14
+ my $version = '12.63';
15
15
 
16
16
  # add our 'lib' directory to the include list BEFORE 'use Image::ExifTool'
17
17
  BEGIN {
@@ -297,8 +297,11 @@ my @recommends = qw(
297
297
  POSIX::strptime
298
298
  Time::Local
299
299
  Unicode::LineBreak
300
+ Compress::Raw::Lzma
300
301
  IO::Compress::RawDeflate
301
302
  IO::Uncompress::RawInflate
303
+ IO::Compress::Brotli
304
+ IO::Uncompress::Brotli
302
305
  Win32::API
303
306
  Win32::FindFile
304
307
  Win32API::File
@@ -1465,6 +1468,10 @@ if ($csv and $csv eq 'CSV' and not $isWriting) {
1465
1468
  $binaryOutput = 0;
1466
1469
  $setCharset = 'default' unless defined $setCharset;
1467
1470
  }
1471
+ if (%printFmt) {
1472
+ Warn "The -csv option has no effect when -p is used\n";
1473
+ undef $csv;
1474
+ }
1468
1475
  require Image::ExifTool::XMP if $setCharset;
1469
1476
  }
1470
1477
 
@@ -4070,6 +4077,8 @@ sub SuggestedExtension($$$)
4070
4077
  $ext = 'dr4';
4071
4078
  } elsif ($$valPt =~ /^(.{10}|.{522})(\x11\x01|\x00\x11)/s) {
4072
4079
  $ext = 'pict';
4080
+ } elsif ($$valPt =~ /^\xff\x0a|\0\0\0\x0cJXL \x0d\x0a......ftypjxl/s) {
4081
+ $ext = 'jxl';
4073
4082
  } else {
4074
4083
  $ext = 'dat';
4075
4084
  }
@@ -4605,10 +4614,11 @@ supported by ExifTool (r = read, w = write, c = create):
4605
4614
 
4606
4615
  File Types
4607
4616
  ------------+-------------+-------------+-------------+------------
4608
- 360 r/w | DR4 r/w/c | JNG r/w | ODP r | RSRC r
4609
- 3FR r | DSS r | JP2 r/w | ODS r | RTF r
4610
- 3G2 r/w | DV r | JPEG r/w | ODT r | RW2 r/w
4611
- 3GP r/w | DVB r/w | JSON r | OFR r | RWL r/w
4617
+ 360 r/w | DPX r | J2C r | O r | RIFF r
4618
+ 3FR r | DR4 r/w/c | JNG r/w | ODP r | RSRC r
4619
+ 3G2 r/w | DSS r | JP2 r/w | ODS r | RTF r
4620
+ 3GP r/w | DV r | JPEG r/w | ODT r | RW2 r/w
4621
+ 7Z r | DVB r/w | JSON r | OFR r | RWL r/w
4612
4622
  A r | DVR-MS r | JXL r | OGG r | RWZ r
4613
4623
  AA r | DYLIB r | K25 r | OGV r | RM r
4614
4624
  AAE r | EIP r | KDC r | ONP r | SEQ r
@@ -4647,7 +4657,6 @@ supported by ExifTool (r = read, w = write, c = create):
4647
4657
  DNG r/w | INX r | NKSC r/w | RAM r |
4648
4658
  DOC r | ISO r | NRW r/w | RAR r |
4649
4659
  DOCX r | ITC r | NUMBERS r | RAW r/w |
4650
- DPX r | J2C r | O r | RIFF r |
4651
4660
 
4652
4661
  Meta Information
4653
4662
  ----------------------+----------------------+---------------------
@@ -4860,8 +4869,8 @@ for more details). C<+=> may also be used to increment numerical values (or
4860
4869
  decrement if I<VALUE> is negative), and C<-=> may be used to conditionally
4861
4870
  delete or replace a tag (see L</WRITING EXAMPLES> for examples). C<^=> is
4862
4871
  used to write an empty string instead of deleting the tag when no I<VALUE>
4863
- is given, but otherwise it is equivalent to C<=>, but note that the caret
4864
- must be quoted on the Windows command line.
4872
+ is given, but otherwise it is equivalent to C<=>. (Note that the caret must
4873
+ be quoted on the Windows command line.)
4865
4874
 
4866
4875
  I<TAG> may contain one or more leading family 0, 1, 2 or 7 group names,
4867
4876
  prefixed by optional family numbers, and separated colons. If no group name
@@ -5557,7 +5566,7 @@ with this command:
5557
5566
 
5558
5567
  produces output like this:
5559
5568
 
5560
- -- Generated by ExifTool 12.62 --
5569
+ -- Generated by ExifTool 12.63 --
5561
5570
  File: a.jpg - 2003:10:31 15:44:19
5562
5571
  (f/5.6, 1/60s, ISO 100)
5563
5572
  File: b.jpg - 2006:05:23 11:57:38
@@ -6080,13 +6089,10 @@ newline and C<$$> represents a single C<$> symbol. So Perl variables, if
6080
6089
  used, require a double C<$>, and regular expressions ending in C<$/> must
6081
6090
  use C<$$/> instead.
6082
6091
 
6083
- 4) The condition may only test tags from the file being processed. To
6084
- process one file based on tags from another, two steps are required. For
6085
- example, to process XMP sidecar files in directory C<DIR> based on tags from
6086
- the associated NEF:
6087
-
6088
- exiftool -if EXPR -p '$directory/$filename' -ext nef DIR > nef.txt
6089
- exiftool -@ nef.txt -srcfile %d%f.xmp ...
6092
+ 4) The condition accesses only tags from the file being processed unless the
6093
+ B<-fileNUM> option is used to read an alternate file and the corresponding
6094
+ family 8 group name is specified for the tag. See the B<-fileNUM> option
6095
+ details for more information.
6090
6096
 
6091
6097
  5) The B<-a> option has no effect on the evaluation of the expression, and
6092
6098
  the values of duplicate tags are accessible only by specifying a group name