exiftool_vendored 13.30.0 → 13.31.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 407bb495700282a96cd7754a1e9ce3a6a7dcf4813d87e827aaee71072c30c3db
4
- data.tar.gz: 062ad0aa55b80eec46031dbc893626cd378be12829be2cd70752170f8084e52a
3
+ metadata.gz: 294fadd1a8ca95bacd65ceb7ccbe1e1bcad11e1c54be1614b2a97268f34b4fef
4
+ data.tar.gz: f9e486c3194561137b60596a608d121e6c836d2f1cbcc6377c8452d4187a2a8a
5
5
  SHA512:
6
- metadata.gz: aee8809f7201113e2d5d4e0af3818fc9a2d6336b6300adc85406d55bc18af20e5e6944b6370caff28e4d472a80d8d35f4e182782bfb96b96c52f73daeb8c6438
7
- data.tar.gz: 8926eb6ea49420269786c0addbdc87e4c0fe3aa19e113369e7591bf59bed98308494de80a797c8e9b3c6941d580ade0e210680960ebc2513c13d67d446e7cd33
6
+ metadata.gz: c7432115839881c5b0076b2ae50264ccceb0de022923b9c7cfe1a0f1aec10a019c111d92f6beb7420e3b24b54852495acdb9e380b47837228771dfb446a582d5
7
+ data.tar.gz: fa0028c4e342601dc7ee84a823c94f728a9ef04a2fdc93ae131ae0cb73259571377916ea88802af733012a442d6581f9edbdf3d851516eda289d18181ee61aa2
data/bin/Changes CHANGED
@@ -7,6 +7,23 @@ RSS feed: https://exiftool.org/rss.xml
7
7
  Note: The most recent production release is Version 13.30. (Other versions are
8
8
  considered development releases, and are not uploaded to MetaCPAN.)
9
9
 
10
+ June 19, 2025 - Version 13.31
11
+
12
+ - Added a new CanonModelID and RFLensType (thanks Norbert Wasser)
13
+ - Added some new FujiFilm AdvancedFilter values (thanks Greybeard)
14
+ - Added a new Nikon Z LensID (thanks Warren Hatch)
15
+ - Decode a few new Sigma tags
16
+ - Decode two more types of timed GPS from MP4 videos
17
+ - Decode more Pentax AF tags for some models (thanks Karsten Gieselmann)
18
+ - Extract Pages MediaBox from PDF files (github #333)
19
+ - Enhanced Validate feature to check some embedded images
20
+ - Remove sub-seconds if they exist when writing a PDF date
21
+ - Removed a debugging warning left in the -plot update of 13.28
22
+ - Changed DNG ProfileIFD RGBTables to Binary-type tag (github #334)
23
+ - Internal code improvements in the handling of some trailers
24
+ - Patched LNK string parsing for Windows nonconformity (github #332)
25
+ - Fixed a few possible "uninitialized value" warnings
26
+
10
27
  May 22, 2025 - Version 13.30 (production release)
11
28
 
12
29
  - Added a new Canon RF lens (thanks Norbert Wasser)
@@ -50,6 +67,8 @@ Apr. 25, 2025 - Version 13.28
50
67
  - Decode ShutterCount for Canon EOS R8 and R50 (github #325)
51
68
  - Decode ThumbnailTIFF from some Insta360 videos
52
69
  - Decode AROT:HDRGainCurveSize from APP10
70
+ - Enhanced the -plot feature to allow Multi option to specify a different
71
+ number of datasets for each plot
53
72
  - Updated to the 2025 MPF specification
54
73
  - Renamed K-3III AFPoints to AFPointsSelected and changed decoding
55
74
  - Fixed bug introduced in 13.23 that could cause an incorrect parsing of XMP
data/bin/META.json CHANGED
@@ -4,13 +4,13 @@
4
4
  "Phil Harvey (philharvey66 at gmail.com)"
5
5
  ],
6
6
  "dynamic_config" : 1,
7
- "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.143240",
7
+ "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010",
8
8
  "license" : [
9
9
  "perl_5"
10
10
  ],
11
11
  "meta-spec" : {
12
12
  "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
13
- "version" : "2"
13
+ "version" : 2
14
14
  },
15
15
  "name" : "Image-ExifTool",
16
16
  "no_index" : {
@@ -50,5 +50,6 @@
50
50
  }
51
51
  },
52
52
  "release_status" : "stable",
53
- "version" : "13.30"
53
+ "version" : "13.31",
54
+ "x_serialization_backend" : "JSON::PP version 4.06"
54
55
  }
data/bin/META.yml CHANGED
@@ -7,7 +7,7 @@ build_requires:
7
7
  configure_requires:
8
8
  ExtUtils::MakeMaker: '0'
9
9
  dynamic_config: 1
10
- generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.143240'
10
+ generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010'
11
11
  license: perl
12
12
  meta-spec:
13
13
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -31,4 +31,5 @@ recommends:
31
31
  Time::HiRes: '0'
32
32
  requires:
33
33
  perl: '5.004'
34
- version: '13.30'
34
+ version: '13.31'
35
+ x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
data/bin/README CHANGED
@@ -109,8 +109,8 @@ your home directory, then you would type the following commands in a
109
109
  terminal window to extract and run ExifTool:
110
110
 
111
111
  cd ~/Desktop
112
- gzip -dc Image-ExifTool-13.30.tar.gz | tar -xf -
113
- cd Image-ExifTool-13.30
112
+ gzip -dc Image-ExifTool-13.31.tar.gz | tar -xf -
113
+ cd Image-ExifTool-13.31
114
114
  ./exiftool t/images/ExifTool.jpg
115
115
 
116
116
  Note: These commands extract meta information from one of the test images.
data/bin/exiftool CHANGED
@@ -11,7 +11,7 @@ use strict;
11
11
  use warnings;
12
12
  require 5.004;
13
13
 
14
- my $version = '13.30';
14
+ my $version = '13.31';
15
15
 
16
16
  $^W = 1; # enable global warnings
17
17
 
@@ -5595,7 +5595,9 @@ Output requested metadata in binary format without tag names or descriptions
5595
5595
  images or other binary data, but it may also be useful for some text strings
5596
5596
  since control characters (such as newlines) are not replaced by '.' as they
5597
5597
  are in the default output. By default, list items are separated by a
5598
- newline when extracted with the B<-b> option, but this may be changed (see
5598
+ newline when extracted with the B<-b> option and no terminator is added
5599
+ after each tag value, but the list separator may be changed with a B<-sep>
5600
+ option and a terminator may be set by adding a second B<-sep> option (see
5599
5601
  the B<-sep> option for details). May be combined with B<-j>, B<-php> or
5600
5602
  B<-X> to extract binary data in JSON, PHP or XML format, but note that
5601
5603
  "Unsafe" tags are not extracted as binary unless they are specified
@@ -6052,7 +6054,7 @@ with this command:
6052
6054
 
6053
6055
  produces output like this:
6054
6056
 
6055
- -- Generated by ExifTool 13.30 --
6057
+ -- Generated by ExifTool 13.31 --
6056
6058
  File: a.jpg - 2003:10:31 15:44:19
6057
6059
  (f/5.6, 1/60s, ISO 100)
6058
6060
  File: b.jpg - 2006:05:23 11:57:38
@@ -6863,9 +6865,10 @@ otherwise family 0 is assumed. The B<-l> or B<-v> option may be combined
6863
6865
  with B<-listf>, B<-listr> or B<-listwf> to add file descriptions to the
6864
6866
  list. The B<-lang> option may be combined with B<-listx> to output
6865
6867
  descriptions in a single language, and the B<-sort> and/or B<-lang> options
6866
- may be combined with B<-listgeo>. Also, the API GeolocMinPop, GeolocFeature
6867
- and GeolocAltNames options apply to the B<-listgeo> output. Here are some
6868
- examples:
6868
+ may be combined with B<-listgeo> (installation of the alternate database is
6869
+ required for the additional languages). Also, the API GeolocMinPop,
6870
+ GeolocFeature and GeolocAltNames options apply to the B<-listgeo> output.
6871
+ Here are some examples:
6869
6872
 
6870
6873
  -list # list all tag names
6871
6874
  -list -EXIF:All # list all EXIF tags
@@ -88,7 +88,7 @@ sub ProcessCTMD($$$);
88
88
  sub ProcessExifInfo($$$);
89
89
  sub SwapWords($);
90
90
 
91
- $VERSION = '4.91';
91
+ $VERSION = '4.92';
92
92
 
93
93
  # Note: Removed 'USM' from 'L' lenses since it is redundant - PH
94
94
  # (or is it? Ref 32 shows 5 non-USM L-type lenses)
@@ -636,9 +636,10 @@ $VERSION = '4.91';
636
636
  '61182.58' => 'Canon RF 70-200mm F2.8 L IS USM Z + RF1.4x', #42
637
637
  '61182.59' => 'Canon RF 70-200mm F2.8 L IS USM Z + RF2x', #42
638
638
  '61182.60' => 'Canon RF 16-28mm F2.8 IS STM', #42
639
- '61182.61' => 'Canon RF 50mm F1.4 L VCM', #42
640
- '61182.62' => 'Canon RF 24mm F1.4 L VCM', #42
641
- '61182.63' => 'Canon RF 20mm F1.4 L VCM', #42
639
+ '61182.61' => 'Canon RF-S 14-30mm F4-6.3 IS STM PZ', #42
640
+ '61182.62' => 'Canon RF 50mm F1.4 L VCM', #42
641
+ '61182.63' => 'Canon RF 24mm F1.4 L VCM', #42
642
+ '61182.64' => 'Canon RF 20mm F1.4 L VCM', #42
642
643
  65535 => 'n/a',
643
644
  );
644
645
 
@@ -1006,6 +1007,7 @@ $VERSION = '4.91';
1006
1007
  0x80000495 => 'EOS R1', #PH
1007
1008
  0x80000496 => 'R5 Mark II', #forum16406
1008
1009
  0x80000498 => 'EOS R100', #25
1010
+ 0x80000516 => 'EOS R50 V', #42
1009
1011
  0x80000520 => 'EOS D2000C', #IB
1010
1012
  0x80000560 => 'EOS D6000C', #PH (guess)
1011
1013
  );
@@ -7032,6 +7034,7 @@ my %ciMaxFocal = (
7032
7034
  320 => 'Canon RF 70-200mm F2.8 L IS USM Z + RF1.4x', #42
7033
7035
  321 => 'Canon RF 70-200mm F2.8 L IS USM Z + RF2x', #42
7034
7036
  323 => 'Canon RF 16-28mm F2.8 IS STM', #42
7037
+ 324 => 'Canon RF-S 14-30mm F4-6.3 IS STM PZ', #42
7035
7038
  325 => 'Canon RF 50mm F1.4 L VCM', #42
7036
7039
  326 => 'Canon RF 24mm F1.4 L VCM', #42
7037
7040
  327 => 'Canon RF 20mm F1.4 L VCM', #42
@@ -57,7 +57,7 @@ use vars qw($VERSION $AUTOLOAD @formatSize @formatName %formatNumber %intFormat
57
57
  use Image::ExifTool qw(:DataAccess :Utils);
58
58
  use Image::ExifTool::MakerNotes;
59
59
 
60
- $VERSION = '4.57';
60
+ $VERSION = '4.58';
61
61
 
62
62
  sub ProcessExif($$$);
63
63
  sub WriteExif($$$);
@@ -2081,7 +2081,7 @@ my %opcodeInfo = (
2081
2081
  0x8822 => {
2082
2082
  Name => 'ExposureProgram',
2083
2083
  Groups => { 2 => 'Camera' },
2084
- Notes => 'the value of 9 is not standard EXIF, but is used by the Canon EOS 7D',
2084
+ Notes => 'the value of 9 is not standard EXIF, but is used by some Canon models',
2085
2085
  Writable => 'int16u',
2086
2086
  PrintConv => {
2087
2087
  0 => 'Not Defined',
@@ -4350,6 +4350,7 @@ my %opcodeInfo = (
4350
4350
  Writable => 'undef',
4351
4351
  WriteGroup => 'IFD0',
4352
4352
  Protected => 1,
4353
+ Binary => 1,
4353
4354
  },
4354
4355
  0xcd40 => { # DNG 1.7
4355
4356
  Name => 'ProfileGainTableMap2',
@@ -629,6 +629,9 @@ my %faceCategories = (
629
629
  0x70000 => 'Soft Focus',
630
630
  0x90000 => 'Low Key',
631
631
  0x100000 => 'Light Leak', #forum17392
632
+ 0x130000 => 'Expired Film Green', #forum17392
633
+ 0x130001 => 'Expired Film Red', #forum17392 (NC)
634
+ 0x130002 => 'Expired Film Neutral', #forum17392
632
635
  },
633
636
  },
634
637
  0x1210 => { #2
@@ -17,7 +17,7 @@ use vars qw($VERSION);
17
17
  use Image::ExifTool qw(:DataAccess :Utils);
18
18
  use Image::ExifTool::QuickTime;
19
19
 
20
- $VERSION = '1.12';
20
+ $VERSION = '1.13';
21
21
 
22
22
  sub ProcessGoPro($$$);
23
23
  sub ProcessString($$$);
@@ -762,7 +762,7 @@ sub ProcessString($$$)
762
762
  }
763
763
 
764
764
  #------------------------------------------------------------------------------
765
- # Process "GP\x06\0" records in MP4 'mdat'atom
765
+ # Process "GP\x06\0" records in MP4 'mdat' atom
766
766
  # Inputs: 0) ExifTool object ref, 1) dirInfo ref (RAF and DirLen)
767
767
  # Returns: size of GoPro record, or 0 on error
768
768
  sub ProcessGP6($$)
@@ -815,9 +815,16 @@ sub ProcessGoPro($$$)
815
815
 
816
816
  for (; $pos+8<=$dirEnd; $pos+=($size+3)&0xfffffffc) {
817
817
  my ($tag,$fmt,$len,$count) = unpack("x${pos}a4CCn", $$dataPt);
818
+ if ($tag =~ /[^-_a-zA-Z0-9 ]/) {
819
+ $et->Warn('Unrecognized GoPro record') unless $tag eq "\0\0\0\0";
820
+ last;
821
+ }
818
822
  $size = $len * $count;
819
823
  $pos += 8;
820
- last if $pos + $size > $dirEnd;
824
+ if ($pos + $size > $dirEnd) {
825
+ $et->Warn('Truncated GoPro record');
826
+ last;
827
+ }
821
828
  my $tagInfo = $et->GetTagInfo($tagTablePtr, $tag);
822
829
  last if $tag eq "\0\0\0\0"; # stop at null tag
823
830
  next unless $size or $verbose; # don't save empty values unless verbose
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # References: 1) http://msdn.microsoft.com/en-us/library/dd871305(PROT.10).aspx
9
9
  # 2) http://www.i2s-lab.com/Papers/The_Windows_Shortcut_File_Format.pdf
10
+ # 3) https://harfanglab.io/insidethelab/sadfuture-xdspy-latest-evolution/#tid_specifications_ignored
10
11
  #------------------------------------------------------------------------------
11
12
 
12
13
  package Image::ExifTool::LNK;
@@ -15,7 +16,7 @@ use strict;
15
16
  use vars qw($VERSION);
16
17
  use Image::ExifTool qw(:DataAccess :Utils);
17
18
 
18
- $VERSION = '1.09';
19
+ $VERSION = '1.10';
19
20
 
20
21
  sub ProcessItemID($$$);
21
22
  sub ProcessLinkInfo($$$);
@@ -647,17 +648,32 @@ sub ProcessLNK($$)
647
648
  my @strings = qw(Description RelativePath WorkingDirectory
648
649
  CommandLineArguments IconFileName);
649
650
  for ($i=0; $i<@strings; ++$i) {
651
+ my ($val, $limit);
650
652
  my $mask = 0x04 << $i;
651
653
  next unless $flags & $mask;
652
654
  $raf->Read($buff, 2) or return 1;
655
+ my $pos = $raf->Tell();
653
656
  $len = unpack('v', $buff) or next;
657
+ # Windows doesn't follow their own specification and limits the length
658
+ # for most of these strings (ref 3)
659
+ if ($i != 3 and $len >= 260) {
660
+ $limit = 1;
661
+ if ($len > 260) {
662
+ $len = 260;
663
+ $et->Warn('LNK string data overrun! Possible security issue');
664
+ }
665
+ }
654
666
  $len *= 2 if $flags & 0x80; # characters are 2 bytes if Unicode flag is set
655
667
  $raf->Read($buff, $len) or return 1;
656
- my $val;
668
+ # remove last character if string is at length limit (Windows treats this as a null)
669
+ if ($limit) {
670
+ $len -= $flags & 0x80 ? 2 : 1;
671
+ $buff = substr($buff, 0, $len);
672
+ }
657
673
  $val = $et->Decode($buff, 'UCS2') if $flags & 0x80;
658
674
  $et->HandleTag($tagTablePtr, 0x30000 | $mask, $val,
659
675
  DataPt => \$buff,
660
- DataPos => $raf->Tell() - $len,
676
+ DataPos => $pos,
661
677
  Size => $len,
662
678
  );
663
679
  }
@@ -716,6 +732,8 @@ under the same terms as Perl itself.
716
732
 
717
733
  =item L<http://www.i2s-lab.com/Papers/The_Windows_Shortcut_File_Format.pdf>
718
734
 
735
+ =item L<https://harfanglab.io/insidethelab/sadfuture-xdspy-latest-evolution/#tid_specifications_ignored>
736
+
719
737
  =back
720
738
 
721
739
  =head1 SEE ALSO
@@ -11,7 +11,7 @@ package Image::ExifTool::Lang::de;
11
11
  use strict;
12
12
  use vars qw($VERSION);
13
13
 
14
- $VERSION = '1.37';
14
+ $VERSION = '1.38';
15
15
 
16
16
  %Image::ExifTool::Lang::de::Translate = (
17
17
  'AEAperture' => 'AE-Blende',
@@ -5126,6 +5126,7 @@ $VERSION = '1.37';
5126
5126
  'LensType' => {
5127
5127
  Description => 'Objektivtyp',
5128
5128
  PrintConv => {
5129
+ 'None' => 'Keiner',
5129
5130
  'Uncoded lens' => 'Nicht kodiertes Objektiv',
5130
5131
  },
5131
5132
  },
@@ -11,7 +11,7 @@ package Image::ExifTool::Lang::fr;
11
11
  use strict;
12
12
  use vars qw($VERSION);
13
13
 
14
- $VERSION = '1.36';
14
+ $VERSION = '1.37';
15
15
 
16
16
  %Image::ExifTool::Lang::fr::Translate = (
17
17
  'AEAperture' => 'Ouverture AE',
@@ -6607,6 +6607,7 @@ $VERSION = '1.36';
6607
6607
  'LensType' => {
6608
6608
  Description => 'Type d\'objectif',
6609
6609
  PrintConv => {
6610
+ 'None' => 'Aucun',
6610
6611
  'n/a' => 'Non applicable',
6611
6612
  'smc PENTAX-F 100-300mm F4.5-5.6 or Sigma Lens' => 'smc PENTAX-F 100-300mm F4.5-5.6 ou objectif Sigma',
6612
6613
  'smc PENTAX-F 28-80mm F3.5-4.5 or Tokina Lens' => 'smc PENTAX-F 28-80mm F3.5-4.5 ou objectif Tokina',
@@ -11,7 +11,7 @@ use strict;
11
11
  use vars qw($VERSION);
12
12
  use Image::ExifTool;
13
13
 
14
- $VERSION = '1.05';
14
+ $VERSION = '1.06';
15
15
 
16
16
  sub ProcessLigoGPS($$$;$);
17
17
  sub ProcessLigoJSON($$$);
@@ -223,11 +223,12 @@ sub DecipherLigoGPS($$$;$)
223
223
  #------------------------------------------------------------------------------
224
224
  # Parse decrypted/deciphered (but not defuzzed) LIGOGPSINFO record
225
225
  # (record starts with 4-byte int32u counter followed by date/time, etc)
226
- # Inputs: 0) ExifTool ref, 1) GPS string, 2) tag table ref, 3) not fuzzed
226
+ # Inputs: 0) ExifTool ref, 1) GPS string, 2) tag table ref,
227
+ # 3) flags: 0x01=not fuzzed, 0x02=spd in km/h
227
228
  # Returns: nothing
228
229
  sub ParseLigoGPS($$$;$)
229
230
  {
230
- my ($et, $str, $tagTbl, $noFuzz) = @_;
231
+ my ($et, $str, $tagTbl, $flags) = @_;
231
232
 
232
233
  # example string input
233
234
  # "....2022/09/19 12:45:24 N:31.285065 W:124.759483 46.93 km/h x:-0.000 y:-0.000 z:-0.000"
@@ -235,15 +236,16 @@ sub ParseLigoGPS($$$;$)
235
236
  $et->Warn('LIGOGPSINFO format error');
236
237
  return;
237
238
  }
239
+ $flags or $flags = 0;
238
240
  my ($time,$latRef,$latNeg,$lat,$lonRef,$lonNeg,$lon,$spd) = ($1,$2,$3,$4,$5,$6,$7,$8);
239
241
  my %gpsScl = ( 1 => 1.524855137, 2 => 1.456027985, 3 => 1.15368 );
240
- my $spdScl = $noFuzz ? $knotsToKph : 1.85407333;
242
+ my $spdScl = $flags & 0x01 ? ($flags & 0x02 ? 1 : $knotsToKph) : 1.85407333;
241
243
  $$et{DOC_NUM} = ++$$et{DOC_COUNT};
242
244
  $time =~ tr(/)(:);
243
245
  # convert from DDMM.MMMMMM to DD.DDDDDD if necessary
244
246
  # (speed wasn't scaled in my 1 sample with this format)
245
247
  $lat =~ /^\d{3}/ and Image::ExifTool::QuickTime::ConvertLatLon($lat,$lon), $spdScl = 1;
246
- unless ($noFuzz) { # unfuzz the coordinates if necessary
248
+ unless ($flags & 0x01) { # unfuzz the coordinates if necessary
247
249
  my $scl = $$et{OPTIONS}{LigoGPSScale} || $$et{LigoGPSScale} || 1;
248
250
  $scl = $gpsScl{$scl} if $gpsScl{$scl};
249
251
  ($lat, $lon) = UnfuzzLigoGPS($lat, $lon, $scl);
@@ -298,7 +300,13 @@ sub ProcessLigoGPS($$$;$)
298
300
  $et->VerboseDir($dirName);
299
301
  for (; $pos + 0x84 <= length($$dataPt); $pos+=0x84) {
300
302
  my $dat = substr($$dataPt, $pos, 0x84);
301
- $dat =~ /^####/ or next; # (have seen blank records filled with zeros, so keep trying)
303
+ unless ($dat =~ /^####/) {
304
+ next unless $dat =~ m(^.{4}\d{4}/\d{2}/\d{2} )s; # (have seen blank records filled with zeros, so keep trying)
305
+ # non-encrypted format written by Redtiger F9 4K
306
+ $dat =~ s/\0+$//; # remove trailing nulls
307
+ ParseLigoGPS($et, $dat, $tagTbl, 0x03);
308
+ next;
309
+ }
302
310
  # decipher if we already know the encryption
303
311
  $cipherInfo and $$cipherInfo{decipher} and DecipherLigoGPS($et, $dat, $tagTbl, $noFuzz) and next;
304
312
  my $str = DecryptLigoGPS($dat);
@@ -65,7 +65,7 @@ use Image::ExifTool::Exif;
65
65
  use Image::ExifTool::GPS;
66
66
  use Image::ExifTool::XMP;
67
67
 
68
- $VERSION = '4.46';
68
+ $VERSION = '4.47';
69
69
 
70
70
  sub LensIDConv($$$);
71
71
  sub ProcessNikonAVI($$$);
@@ -5856,6 +5856,7 @@ my %nikonFocalConversions = (
5856
5856
  46 => 'Nikkor Z 135mm f/1.8 S Plena', #28
5857
5857
  47 => 'Nikkor Z 35mm f/1.2 S', #28
5858
5858
  48 => 'Nikkor Z 28-400mm f/4-8 VR', #30
5859
+ 49 => 'Nikkor Z 28-135mm f/4 PZ', #28
5859
5860
  51 => 'Nikkor Z 35mm f/1.4', #28
5860
5861
  52 => 'Nikkor Z 50mm f/1.4', #28
5861
5862
  2305 => 'Laowa FFII 10mm F2.8 C&D Dreamer', #30
@@ -12791,7 +12792,7 @@ my %nikonFocalConversions = (
12791
12792
  Name => 'UnknownInfo',
12792
12793
  SubDirectory => { TagTable => 'Image::ExifTool::Nikon::UnknownInfo' },
12793
12794
  },
12794
- # 0x200002d - int16u[3]: "512 0 0"
12795
+ # 0x200002d - int16u[3]: "512 0 0", "512 1 14", "512 3 10"
12795
12796
  0x2000032 => {
12796
12797
  Name => 'UnknownInfo2',
12797
12798
  SubDirectory => { TagTable => 'Image::ExifTool::Nikon::UnknownInfo2' },
@@ -12804,10 +12805,12 @@ my %nikonFocalConversions = (
12804
12805
  # 0x200003f - rational64s[2]: "0 0"
12805
12806
  # 0x2000042 - undef[6]: "0100\x03\0"
12806
12807
  # 0x2000043 - undef[12]: all zeros
12808
+ # 0x200004d - undef[84]: "0100\0\0\0\0x020100\0\0\0\x010100\0\0\0\x05\0\0\..."
12807
12809
  0x200004e => {
12808
12810
  Name => 'NikonSettings',
12809
12811
  SubDirectory => { TagTable => 'Image::ExifTool::NikonSettings::Main' },
12810
12812
  },
12813
+ # 0x2000055 - undef[8]: "0100\x01\0\0\0"
12811
12814
  0x2000083 => {
12812
12815
  Name => 'LensType',
12813
12816
  # credit to Tom Christiansen (ref 7) for figuring this out...
@@ -13011,7 +13014,11 @@ my %nikonFocalConversions = (
13011
13014
  Condition => '$$valPt =~ /^040[012]/',
13012
13015
  SubDirectory => { TagTable => 'Image::ExifTool::Nikon::AFInfo2V0400' },
13013
13016
  }],
13014
- # 0x20000c0 - undef[8]
13017
+ # 0x20000c0 - undef[8]:
13018
+ # 34 01 0c 00 90 01 0c 00
13019
+ # 34 01 0c 00 9c 01 0c 00
13020
+ # 3c 01 0c 00 9c 01 0c 00
13021
+ # 3c 01 0c 00 a8 01 0c 00
13015
13022
  0x20000c3 => {
13016
13023
  Name => 'BarometerInfo',
13017
13024
  SubDirectory => {
@@ -234,6 +234,7 @@ my %supportedFilter = (
234
234
  Kids => {
235
235
  SubDirectory => { TagTable => 'Image::ExifTool::PDF::Kids' },
236
236
  },
237
+ MediaBox => { Name => 'MediaBox', List => 1 },
237
238
  );
238
239
 
239
240
  # tags in PDF Perms dictionary
@@ -1439,7 +1439,7 @@ my %shootingMode = (
1439
1439
  0xde => { #forum17299
1440
1440
  Name => 'AFAreaSize',
1441
1441
  Writable => 'rational64u',
1442
- Notes => 'relative to size of image',
1442
+ Notes => 'relative to size of image. "n/a" for manual focus',
1443
1443
  Count => 2,
1444
1444
  PrintConv => '$val =~ /^4194303.999/ ? "n/a" : $val',
1445
1445
  PrintConvInv => '$val eq "n/a" ? "4194303.999 4194303.999" : $val',
@@ -56,7 +56,7 @@ sub Process_mett($$$);
56
56
  Name => 'ParrotAutomation',
57
57
  SubDirectory => { TagTable => 'Image::ExifTool::Parrot::Automation' },
58
58
  },
59
- # timed metadata written by ARCore (see forum13653)
59
+ # MetaType of timed metadata written by ARCore (see forum13653)
60
60
  'application/arcore-accel' => {
61
61
  Name => 'ARCoreAccel',
62
62
  SubDirectory => { TagTable => 'Image::ExifTool::Parrot::ARCoreAccel', ByteOrder => 'II' },
@@ -58,7 +58,7 @@ use Image::ExifTool::Exif;
58
58
  use Image::ExifTool::GPS;
59
59
  use Image::ExifTool::HP;
60
60
 
61
- $VERSION = '3.51';
61
+ $VERSION = '3.52';
62
62
 
63
63
  sub CryptShutterCount($$);
64
64
  sub PrintFilter($$$);
@@ -1354,6 +1354,7 @@ my %binaryDataAttrs = (
1354
1354
  0xfffd => 'Automatic Tracking AF', #JD
1355
1355
  0xfffc => 'Face Detect AF', #JD
1356
1356
  0xfffb => 'AF Select', #PH (Q select from 25-areas)
1357
+ 0xfffa => 'Auto 2', #KarstenGieselmann
1357
1358
  0 => 'None', #PH (Q in manual focus mode)
1358
1359
  1 => 'Upper-left',
1359
1360
  2 => 'Top',
@@ -5792,21 +5793,21 @@ my %binaryDataAttrs = (
5792
5793
  },
5793
5794
  4 => {
5794
5795
  Name => 'AFPointsInFocus',
5795
- Condition => '$$self{Model} =~ /K-1\b/',
5796
+ Condition => '$$self{Model} =~ /K(P|-1|-70)\b/',
5796
5797
  Format => 'int8u[int(($val{2}+3)/4)]',
5797
5798
  Writable => 0,
5798
5799
  PrintConv => 'Image::ExifTool::Pentax::DecodeAFPoints($val,$$self{NumAFPoints},2,0x02)',
5799
5800
  },
5800
5801
  4.1 => {
5801
5802
  Name => 'AFPointsSelected',
5802
- Condition => '$$self{Model} =~ /K-1\b/',
5803
+ Condition => '$$self{Model} =~ /K(P|-1|-70)\b/',
5803
5804
  Format => 'int8u[int(($val{2}+3)/4)]',
5804
5805
  Writable => 0,
5805
5806
  PrintConv => 'Image::ExifTool::Pentax::DecodeAFPoints($val,$$self{NumAFPoints},2,0x03)',
5806
5807
  },
5807
5808
  4.2 => {
5808
5809
  Name => 'AFPointsSpecial',
5809
- Condition => '$$self{Model} =~ /K-1\b/',
5810
+ Condition => '$$self{Model} =~ /K(P|-1|-70)\b/',
5810
5811
  Format => 'int8u[int(($val{2}+3)/4)]',
5811
5812
  Writable => 0,
5812
5813
  PrintConv => 'Image::ExifTool::Pentax::DecodeAFPoints($val,$$self{NumAFPoints},2,0x03,0x03)',
@@ -6437,6 +6438,7 @@ sub DecodeAFPoints($$$$;$)
6437
6438
  {
6438
6439
  my ($val, $num, $bits, $mask, $bitVal) = @_;
6439
6440
  my @bytes = split ' ', $val;
6441
+ return '(none)' unless @bytes;
6440
6442
  my $i = 1; # (starts at AF point number 1)
6441
6443
  my $shift = 8 - $bits;
6442
6444
  my $byte = shift @bytes;
@@ -11,7 +11,7 @@ package Image::ExifTool::Plot;
11
11
  use strict;
12
12
  use vars qw($VERSION);
13
13
 
14
- $VERSION = '1.03';
14
+ $VERSION = '1.05';
15
15
 
16
16
  # default plot settings (lower-case settings may be overridden by the user)
17
17
  my %defaults = (
@@ -201,7 +201,7 @@ sub AddPoints($$$)
201
201
  $$data{$name}[$xmax - $xmin] = $val if $xmax >= $xmin;
202
202
  next;
203
203
  }
204
- if ($docNum and $num{$name} < $docNum) {
204
+ if ($docNum and defined $num{$name} and $num{$name} < $docNum) {
205
205
  $num{$name} = $docNum; # keep documents synchronized if some tags are missing
206
206
  } else {
207
207
  $num{$name} = $xmax unless defined $num{$name};
@@ -321,7 +321,6 @@ sub Draw($$)
321
321
  foreach (0 .. (($multi[$plotNum] || 1) - 1)) {
322
322
  push @{$$self{Name}}, shift(@names);
323
323
  }
324
- warn "@{$$self{Name}}\n";
325
324
  undef $min; undef $max;
326
325
  foreach ($scat .. (@{$$self{Name}} - 1)) {
327
326
  my $dat = $$self{Data}{$$self{Name}[$_]};
@@ -49,7 +49,7 @@ use Image::ExifTool qw(:DataAccess :Utils);
49
49
  use Image::ExifTool::Exif;
50
50
  use Image::ExifTool::GPS;
51
51
 
52
- $VERSION = '3.17';
52
+ $VERSION = '3.18';
53
53
 
54
54
  sub ProcessMOV($$;$);
55
55
  sub ProcessKeys($$$);
@@ -10522,12 +10522,13 @@ QTLang: foreach $tag (@{$$et{QTLang}}) {
10522
10522
  for (; $trailer; $trailer=$$trailer[3]) {
10523
10523
  next if $lastPos > $$trailer[1]; # skip if we have already processed this as an atom
10524
10524
  last unless $raf->Seek($$trailer[1], 0);
10525
- if ($$trailer[0] eq 'LigoGPS' and $raf->Read($buff, 8) == 8 and $buff =~ /skip$/) {
10525
+ if ($$trailer[0] eq 'LigoGPS' and $raf->Read($buff, 8) == 8 and $buff =~ /skip$/i) {
10526
10526
  $ee or $et->Warn('Use the ExtractEmbedded option to decode timed GPS',3), next;
10527
10527
  my $len = Get32u(\$buff, 0) - 16;
10528
10528
  if ($len > 0 and $raf->Read($buff, $len) == $len and $buff =~ /^LIGOGPSINFO\0/) {
10529
10529
  my $tbl = GetTagTable('Image::ExifTool::QuickTime::Stream');
10530
10530
  my %dirInfo = ( DataPt => \$buff, DataPos => $$trailer[1] + 8, DirName => 'LigoGPSTrailer' );
10531
+ $et->VerboseDump(\$buff, DataPos => $dirInfo{DataPos});
10531
10532
  Image::ExifTool::LigoGPS::ProcessLigoGPS($et, \%dirInfo, $tbl);
10532
10533
  } else {
10533
10534
  $et->Warn('Unrecognized data in LigoGPS trailer');