exiftool_vendored 12.35.0 → 12.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52e82f9009ab10204f4fcf27c5e257b9ef7d78a132dd3ff487f6f4057f0277cc
4
- data.tar.gz: 43b4bed4388b6518e0350f69d9858dcd74c981851ac681ee0b0fdd1a2fba0052
3
+ metadata.gz: 860e8f065a884ee45be833825836c1ffc919cae259edd1c4436c87524e714f49
4
+ data.tar.gz: b3fc9dd82c202b55b7a6952938996255560035b8cf45645e00a42c9d9a05747f
5
5
  SHA512:
6
- metadata.gz: ea35dbefffadeb4fb7e3b8871acffbc2408ad1e63e7c2995ede7dc6baf7b4f98b1ff377d49677f0e36755ec643a6f12f2a31889106cb703c409128ca0af25a9e
7
- data.tar.gz: a6f19417b3eed9bf9f8caaba0f84b100a05a968aded523453b865205cee7c7756da5d17f9a6b99d1bd3e7d1194c3a74247531c832dd88d40d6d468a5dba2861d
6
+ metadata.gz: 1b233fba0025620a972fee0c757fd1176ce3a64f208441a9bc95169c13d57270720f3fe2808643ab301feaacccc0ae471244374ccfba1dc34e885efc64b180ec
7
+ data.tar.gz: fd4dfe483295162f230ffae226867295c79f89848af21c0f0b69fe95924bbb0e09d944dc6af71acded089c4b2230687f23a6c92cd2d471a64eda08d54a6bc8a4
data/bin/Changes CHANGED
@@ -7,6 +7,21 @@ RSS feed: https://exiftool.org/rss.xml
7
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
+ Nov. 16, 2021 - Version 12.36
11
+
12
+ - IMPORTANT: Fixed bug introduced in 12.35 which corrupted JPEG 2000 images
13
+ when removing all metadata with -all=
14
+ - Added feature to bypass processing of specified XMP namespaces and
15
+ properties (to improve performance in cases where the XMP suffers from
16
+ Adobe-editing bloat)
17
+ - Added a number of new XMP tags used by Lightroom 11.0
18
+ - Decode a number of new Nikon tags (thanks Warren Hatch)
19
+ - Made the Composite GPSPosition tag writable
20
+ - Fixed erroneous "Skipped unknown bytes after JPEG SOS" warning
21
+ - Fixed group for new writable Jpeg2000 color tags in -listx output
22
+ - Fixed problem finding files in windows when using wildcards in file name and
23
+ a drive letter with no slash
24
+
10
25
  Nov. 11, 2021 - Version 12.35
11
26
 
12
27
  - Added ability to write ICC_Profile (and other color specifications) to
@@ -14,18 +29,18 @@ Nov. 11, 2021 - Version 12.35
14
29
  - Added %o code to -W option format string
15
30
  - Added %f code to -d option for fractional seconds
16
31
  - Added a couple of new Sony LensType values (thanks Jos Roost)
32
+ - Added a new CanonModelID (thanks Norbert Wasser)
17
33
  - Added a new Nikon LensID
18
- - Added a new CanonModelID
19
34
  - Decode more Nikon MakerNotes tags for some new models (thanks Warren Hatch)
20
35
  - Extract ThumbnailImage from some DJI drone videos
21
36
  - Enhanced -ee option to extract metadata from all frames in a SEQ file
22
37
  - Patched to avoid possible "Use of uninitialized value" runtime warning
23
- - Fixed a couple if misspelt new ICC_Profile tag names (thanks Herb)
38
+ - Fixed a couple of misspelt new ICC_Profile tag names (thanks Herb)
24
39
  - Fixed problem generating the correct file extension when extracting
25
40
  OriginalRawImage from a DNG file using the -W option with the %s format code
26
41
  - Fixed bug introduced in 11.91 where exiftool couldn't find its libraries
27
- when running via a link. Also it was looking for the config file in the
28
- directory of the link, and this was changed to the target directory
42
+ when run via a soft link. Also changed to look for config file in the link
43
+ target directory instead of the directory of the link itself
29
44
 
30
45
  Oct. 27, 2021 - Version 12.34
31
46
 
@@ -173,6 +188,8 @@ May 20, 2021 - Version 12.26 (production release)
173
188
  - Fixed problem which could cause a "Wide character" warning and generate a
174
189
  corrupted output file when writing some illegal values
175
190
 
191
+ History of older versions (back to Nov. 19, 2003 - Version 1.00) -->
192
+
176
193
  Apr. 22, 2021 - Version 12.25
177
194
 
178
195
  - JPEG XL support is now official
data/bin/META.json CHANGED
@@ -47,5 +47,5 @@
47
47
  }
48
48
  },
49
49
  "release_status" : "stable",
50
- "version" : "12.35"
50
+ "version" : "12.36"
51
51
  }
data/bin/META.yml CHANGED
@@ -28,4 +28,4 @@ recommends:
28
28
  Time::HiRes: 0
29
29
  requires:
30
30
  perl: 5.004
31
- version: 12.35
31
+ version: 12.36
data/bin/README CHANGED
@@ -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.35.tar.gz | tar -xf -
111
- cd Image-ExifTool-12.35
110
+ gzip -dc Image-ExifTool-12.36.tar.gz | tar -xf -
111
+ cd Image-ExifTool-12.36
112
112
  ./exiftool t/images/ExifTool.jpg
113
113
 
114
114
  Note: These commands extract meta information from one of the test images.
data/bin/exiftool CHANGED
@@ -10,7 +10,7 @@
10
10
  use strict;
11
11
  require 5.004;
12
12
 
13
- my $version = '12.35';
13
+ my $version = '12.36';
14
14
 
15
15
  # add our 'lib' directory to the include list BEFORE 'use Image::ExifTool'
16
16
  BEGIN {
@@ -3806,7 +3806,7 @@ sub FindFileWindows($$)
3806
3806
  my $enc = $et->Options('CharsetFileName');
3807
3807
  $wildfile = $et->Decode($wildfile, $enc, undef, 'UTF8') if $enc and $enc ne 'UTF8';
3808
3808
  $wildfile =~ tr/\\/\//; # use forward slashes
3809
- my ($dir, $wildname) = ($wildfile =~ m{(.*/)(.*)}) ? ($1, $2) : ('', $wildfile);
3809
+ my ($dir, $wildname) = ($wildfile =~ m{(.*[:/])(.*)}) ? ($1, $2) : ('', $wildfile);
3810
3810
  if ($dir =~ /[*?]/) {
3811
3811
  Warn "Wildcards don't work in the directory specification\n";
3812
3812
  return ();
@@ -4722,6 +4722,14 @@ group delete (unless a family 2 group is specified, see note 4 below).
4722
4722
  Instead, individual tags may be recovered using the B<-tagsFromFile> option
4723
4723
  (eg. C<-all= -tagsfromfile @ -artist>).
4724
4724
 
4725
+ To speed processing when reading XMP, exclusions in XMP groups also bypass
4726
+ processing of the corresponding XMP property and any contained properties.
4727
+ For example, C<--xmp-crs:all> may speed processing significantly in cases
4728
+ where a large number of XMP-crs tags exist. To use this feature to bypass
4729
+ processing of a specific XMP property, the property name must be used
4730
+ instead of the ExifTool tag name (eg. C<--xmp-crs:dabs>). Also, C<XMP-all>
4731
+ may be used to to indicate any XMP namespace (eg. <C--xmp-all:dabs>).
4732
+
4725
4733
  =item B<->I<TAG>[+-^]B<=>[I<VALUE>]
4726
4734
 
4727
4735
  Write a new value for the specified tag (eg. C<-comment=wow>), or delete the
@@ -5416,7 +5424,7 @@ with this command:
5416
5424
 
5417
5425
  produces output like this:
5418
5426
 
5419
- -- Generated by ExifTool 12.35 --
5427
+ -- Generated by ExifTool 12.36 --
5420
5428
  File: a.jpg - 2003:10:31 15:44:19
5421
5429
  (f/5.6, 1/60s, ISO 100)
5422
5430
  File: b.jpg - 2006:05:23 11:57:38
@@ -56,7 +56,7 @@ use vars qw($VERSION $AUTOLOAD @formatSize @formatName %formatNumber %intFormat
56
56
  use Image::ExifTool qw(:DataAccess :Utils);
57
57
  use Image::ExifTool::MakerNotes;
58
58
 
59
- $VERSION = '4.37';
59
+ $VERSION = '4.38';
60
60
 
61
61
  sub ProcessExif($$$);
62
62
  sub WriteExif($$$);
@@ -4816,11 +4816,23 @@ my %subSecConv = (
4816
4816
  },
4817
4817
  GPSPosition => {
4818
4818
  Groups => { 2 => 'Location' },
4819
+ Writable => 1,
4820
+ WriteAlso => {
4821
+ GPSLatitude => '$val =~ /(.*?)( ?[NS])?,/ ? $1 : undef',
4822
+ GPSLatitudeRef => '$val =~ /(-?)(.*?) ?([NS]?),/ ? ($3 || ($1 ? "S" : "N")) : undef',
4823
+ GPSLongitude => '$val =~ /, ?(.*?)( ?[EW]?)$/ ? $1 : undef',
4824
+ GPSLongitudeRef => '$val =~ /, ?(-?)(.*?) ?([EW]?)$/ ? ($3 || ($1 ? "W" : "E")) : undef',
4825
+ },
4819
4826
  Require => {
4820
4827
  0 => 'GPSLatitude',
4821
4828
  1 => 'GPSLongitude',
4822
4829
  },
4823
4830
  Priority => 0,
4831
+ Notes => q{
4832
+ when written, writes GPSLatitude, GPSLatitudeRef, GPSLongitude and
4833
+ GPSLongitudeRef. This tag may be written using the same coordinate
4834
+ format as provided by Google Maps when right-clicking on a location
4835
+ },
4824
4836
  ValueConv => '(length($val[0]) or length($val[1])) ? "$val[0] $val[1]" : undef',
4825
4837
  PrintConv => '"$prt[0], $prt[1]"',
4826
4838
  },
@@ -565,6 +565,9 @@ my %j2cMarker = (
565
565
  GROUPS => { 2 => 'Image' },
566
566
  FORMAT => 'int8s',
567
567
  WRITABLE => 1,
568
+ # (Note: 'colr' is not a real group, but is used as a hack to write the
569
+ # necessary colr box. This hack necessitated another hack in TagInfoXML.pm
570
+ # to avoid reporting this fake group in the XML output)
568
571
  WRITE_GROUP => 'colr',
569
572
  DATAMEMBER => [ 0 ],
570
573
  IS_SUBDIR => [ 3 ],