exiftool_vendored 12.34.0 → 12.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,7 @@ use Image::ExifTool qw(:DataAccess :Utils);
62
62
  use Image::ExifTool::Exif;
63
63
  use Image::ExifTool::GPS;
64
64
 
65
- $VERSION = '4.00';
65
+ $VERSION = '4.01';
66
66
 
67
67
  sub LensIDConv($$$);
68
68
  sub ProcessNikonAVI($$$);
@@ -404,6 +404,7 @@ sub GetAFPointGrid($$;$);
404
404
  '48 38 1F 37 34 3C 4B 06' => 'Sigma 12-24mm F4.5-5.6 EX DG Aspherical HSM',
405
405
  'F0 38 1F 37 34 3C 4B 06' => 'Sigma 12-24mm F4.5-5.6 EX DG Aspherical HSM',
406
406
  '96 38 1F 37 34 3C 4B 06' => 'Sigma 12-24mm F4.5-5.6 II DG HSM', #Jurgen Sahlberg
407
+ 'CA 3C 1F 37 30 30 4B 46' => 'Sigma 12-24mm F4 DG HSM | A', #github issue#101
407
408
  'C1 48 24 37 24 24 4B 46' => 'Sigma 14-24mm F2.8 DG HSM | A', #30
408
409
  '26 40 27 3F 2C 34 1C 02' => 'Sigma 15-30mm F3.5-4.5 EX DG Aspherical DF',
409
410
  '48 48 2B 44 24 30 4B 06' => 'Sigma 17-35mm F2.8-4 EX DG Aspherical HSM',
@@ -7353,7 +7354,7 @@ my %nikonFocalConversions = (
7353
7354
  WRITE_PROC => \&Image::ExifTool::Nikon::ProcessNikonEncrypted,
7354
7355
  CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
7355
7356
  VARS => { ID_LABEL => 'Index' },
7356
- DATAMEMBER => [ 0x04, 0x0e, 0x18, 0x98, 0xce31 ],
7357
+ DATAMEMBER => [ 0x04, 0x0e, 0x18, 0x38, 0x98, 0x7eff, 0xce31 ],
7357
7358
  WRITABLE => 1,
7358
7359
  FIRST_ENTRY => 0,
7359
7360
  GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
@@ -7391,6 +7392,14 @@ my %nikonFocalConversions = (
7391
7392
  Writable => 0,
7392
7393
  Hidden => 1,
7393
7394
  },
7395
+ 0x38 => { #28
7396
+ Name => 'Offset5',
7397
+ DataMember => 'Offset5',
7398
+ Format => 'int32u',
7399
+ Writable => 0,
7400
+ Hidden => 1,
7401
+ RawConv => '$$self{Offset5} = $val || 0x10000000; undef', # (ignore if 0)
7402
+ },
7394
7403
  0x98 => {
7395
7404
  Name => 'OrientationOffset',
7396
7405
  DataMember => 'OrientationOffset',
@@ -7400,9 +7409,33 @@ my %nikonFocalConversions = (
7400
7409
  RawConv => '$$self{OrientationOffset} = $val || 0x10000000; undef', # (ignore if 0)
7401
7410
  },
7402
7411
 
7412
+ ### 0x7f00 - Offset5 info start (Z7_2 firmware 1.30)
7413
+ 0x7eff => { #28
7414
+ Name => 'Hook1',
7415
+ Hidden => 1,
7416
+ RawConv => 'undef',
7417
+ # account for variable location of Offset5 data
7418
+ Hook => '$varSize = $$self{Offset5} - 0x7f00',
7419
+ },
7420
+ 0x7fa0 => { #28
7421
+ Name => 'PortraitImpressionBalance', #will be 0 for firmware 1.21 and earlier; firmware 1.30 onward: will be set by Photo Shooting Menu entry Portrait Impression Balance
7422
+ #offset5+160; 128 is neutral; >128 increases Yellow; <128 increases Magenta; increments of 4 result from 1 full unit adjustment on the camera
7423
+ #offset5+161 129 is neutral; >129 increases Brightness; <129 decreases Brightness
7424
+ #with firmware 1.30 when 'Off' is selected in the Shooting menu, offsets 160 & 161 will contain 255. Selecting Mode 1,2, or 3 will populate offsets 160 & 161 with values in the range [116,141]
7425
+ Format => 'int8u[2]',
7426
+ Condition => '$$self{FirmwareVersion} ge "01.30"',
7427
+ PrintConv => q{
7428
+ return 'Off' if $val eq '0 0' or $val eq '255 255';
7429
+ my @v = split ' ', $val;
7430
+ my $brightness = $v[1]==128 ? 'Brightness: Neutral' : sprintf('Brightness: %+.1f',($v[1]-128)/4);
7431
+ my $color = $v[0]==128 ? 'Color: Neutral' : sprintf('%s: %.1f', $v[0]>128 ? 'Yellow' : 'Magenta', abs($v[0]-128)/4);
7432
+ # will return something like: 'Magenta: 1.0 Brightness: Neutral'
7433
+ return "$color $brightness"
7434
+ },
7435
+ },
7403
7436
  ### 0xce32 - OrientationInfo start (Z7_2 firmware 1.00)
7404
7437
  0xce31 => {
7405
- Name => 'Hook1',
7438
+ Name => 'Hook2',
7406
7439
  Hidden => 1,
7407
7440
  RawConv => 'undef',
7408
7441
  # account for variable location of OrientationInfo data
@@ -47,7 +47,7 @@ use Image::ExifTool qw(:DataAccess :Utils);
47
47
  use Image::ExifTool::Exif;
48
48
  use Image::ExifTool::GPS;
49
49
 
50
- $VERSION = '2.71';
50
+ $VERSION = '2.72';
51
51
 
52
52
  sub ProcessMOV($$;$);
53
53
  sub ProcessKeys($$$);
@@ -482,6 +482,17 @@ my %eeBox2 = (
482
482
  # (Pittasoft Blackview dashcam MP4 videos)
483
483
  Condition => '$$valPt =~ /^\0\0..(cprt|sttm|ptnm|ptrh|thum|gps |3gf )/s',
484
484
  SubDirectory => { TagTable => 'Image::ExifTool::QuickTime::Pittasoft' },
485
+ },{
486
+ Name => 'ThumbnailImage',
487
+ # (DJI Zenmuse XT2 thermal camera)
488
+ Groups => { 2 => 'Preview' },
489
+ Condition => '$$valPt =~ /^.{4}mdat\xff\xd8\xff/s',
490
+ RawConv => q{
491
+ my $len = unpack('N', $val);
492
+ return undef if $len <= 8 or $len > length($val);
493
+ return substr($val, 8, $len-8);
494
+ },
495
+ Binary => 1,
485
496
  },{
486
497
  Unknown => 1,
487
498
  Binary => 1,
@@ -99,7 +99,7 @@ my %insvLimit = (
99
99
  The tags below are extracted from timed metadata in QuickTime and other
100
100
  formats of video files when the ExtractEmbedded option is used. Although
101
101
  most of these tags are combined into the single table below, ExifTool
102
- currently reads 57 different formats of timed GPS metadata from video files.
102
+ currently reads 58 different formats of timed GPS metadata from video files.
103
103
  },
104
104
  VARS => { NO_ID => 1 },
105
105
  GPSLatitude => { PrintConv => 'Image::ExifTool::GPS::ToDMS($self, $val, 1, "N")', RawConv => '$$self{FoundGPSLatitude} = 1; $val' },
@@ -34,7 +34,7 @@ use Image::ExifTool qw(:DataAccess :Utils);
34
34
  use Image::ExifTool::Exif;
35
35
  use Image::ExifTool::Minolta;
36
36
 
37
- $VERSION = '3.47';
37
+ $VERSION = '3.48';
38
38
 
39
39
  sub ProcessSRF($$$);
40
40
  sub ProcessSR2($$$);
@@ -198,6 +198,8 @@ sub PrintInvLensSpec($;$$);
198
198
  49466 => 'Tamron 150-500mm F5-6.7 Di III VC VXD', #JR (Model A057)
199
199
  49467 => 'Tamron 11-20mm F2.8 Di III-A RXD', #JR (Model B060)
200
200
  49468 => 'Tamron 18-300mm F3.5-6.3 Di III-A VC VXD', #JR (Model B061)
201
+ 49469 => 'Tamron 35-150mm F2-F2.8 Di III VXD', #JR (Model A058)
202
+ 49470 => 'Tamron 28-75mm F2.8 Di III VXD G2', #JR (Model A063)
201
203
 
202
204
  49473 => 'Tokina atx-m 85mm F1.8 FE or Viltrox lens', #JR
203
205
  49473.1 => 'Viltrox 23mm F1.4 E', #JR