exiftool_vendored 10.58.0 → 10.65.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of exiftool_vendored might be problematic. Click here for more details.

Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +100 -1
  3. data/bin/MANIFEST +2 -0
  4. data/bin/META.json +1 -1
  5. data/bin/META.yml +1 -1
  6. data/bin/README +39 -38
  7. data/bin/arg_files/exif2iptc.args +3 -0
  8. data/bin/arg_files/iptc2exif.args +3 -0
  9. data/bin/config_files/example.config +16 -14
  10. data/bin/config_files/photoshop_paths.config +10 -0
  11. data/bin/exiftool +71 -65
  12. data/bin/lib/Image/ExifTool/APE.pm +5 -0
  13. data/bin/lib/Image/ExifTool/BuildTagLookup.pm +31 -15
  14. data/bin/lib/Image/ExifTool/Canon.pm +18 -4
  15. data/bin/lib/Image/ExifTool/CanonCustom.pm +3 -0
  16. data/bin/lib/Image/ExifTool/Charset/DOSLatin1.pm +49 -0
  17. data/bin/lib/Image/ExifTool/Charset/DOSLatinUS.pm +49 -0
  18. data/bin/lib/Image/ExifTool/Charset.pm +8 -5
  19. data/bin/lib/Image/ExifTool/Exif.pm +37 -18
  20. data/bin/lib/Image/ExifTool/FLAC.pm +47 -37
  21. data/bin/lib/Image/ExifTool/FLIR.pm +3 -3
  22. data/bin/lib/Image/ExifTool/FujiFilm.pm +5 -2
  23. data/bin/lib/Image/ExifTool/GPS.pm +6 -6
  24. data/bin/lib/Image/ExifTool/Geotag.pm +1 -1
  25. data/bin/lib/Image/ExifTool/H264.pm +2 -0
  26. data/bin/lib/Image/ExifTool/ID3.pm +8 -3
  27. data/bin/lib/Image/ExifTool/IPTC.pm +1 -1
  28. data/bin/lib/Image/ExifTool/Import.pm +4 -1
  29. data/bin/lib/Image/ExifTool/InDesign.pm +11 -7
  30. data/bin/lib/Image/ExifTool/Kodak.pm +4 -1
  31. data/bin/lib/Image/ExifTool/Lang/de.pm +31 -31
  32. data/bin/lib/Image/ExifTool/MWG.pm +12 -4
  33. data/bin/lib/Image/ExifTool/MakerNotes.pm +3 -3
  34. data/bin/lib/Image/ExifTool/Matroska.pm +2 -1
  35. data/bin/lib/Image/ExifTool/Microsoft.pm +3 -3
  36. data/bin/lib/Image/ExifTool/Minolta.pm +71 -61
  37. data/bin/lib/Image/ExifTool/Nikon.pm +286 -43
  38. data/bin/lib/Image/ExifTool/NikonCustom.pm +1049 -0
  39. data/bin/lib/Image/ExifTool/Olympus.pm +4 -1
  40. data/bin/lib/Image/ExifTool/PNG.pm +4 -7
  41. data/bin/lib/Image/ExifTool/PanasonicRaw.pm +24 -1
  42. data/bin/lib/Image/ExifTool/Pentax.pm +20 -6
  43. data/bin/lib/Image/ExifTool/Photoshop.pm +24 -3
  44. data/bin/lib/Image/ExifTool/QuickTime.pm +545 -14
  45. data/bin/lib/Image/ExifTool/README +16 -9
  46. data/bin/lib/Image/ExifTool/RIFF.pm +8 -1
  47. data/bin/lib/Image/ExifTool/Samsung.pm +5 -4
  48. data/bin/lib/Image/ExifTool/Sigma.pm +9 -1
  49. data/bin/lib/Image/ExifTool/Sony.pm +327 -153
  50. data/bin/lib/Image/ExifTool/TagLookup.pm +3273 -3220
  51. data/bin/lib/Image/ExifTool/TagNames.pod +317 -38
  52. data/bin/lib/Image/ExifTool/Validate.pm +15 -1
  53. data/bin/lib/Image/ExifTool/WriteExif.pl +5 -0
  54. data/bin/lib/Image/ExifTool/WriteIPTC.pl +23 -1
  55. data/bin/lib/Image/ExifTool/WriteQuickTime.pl +8 -2
  56. data/bin/lib/Image/ExifTool/WriteXMP.pl +7 -0
  57. data/bin/lib/Image/ExifTool/Writer.pl +96 -18
  58. data/bin/lib/Image/ExifTool/XMP.pm +20 -11
  59. data/bin/lib/Image/ExifTool/XMP2.pl +634 -583
  60. data/bin/lib/Image/ExifTool.pm +124 -17
  61. data/bin/lib/Image/ExifTool.pod +86 -82
  62. data/bin/perl-Image-ExifTool.spec +38 -37
  63. data/lib/exiftool_vendored/version.rb +1 -1
  64. metadata +4 -2
@@ -6368,6 +6368,1055 @@ $VERSION = '1.15';
6368
6368
  },
6369
6369
  );
6370
6370
 
6371
+ # D850 custom settings (ref 1)
6372
+ %Image::ExifTool::NikonCustom::SettingsD850 = (
6373
+ PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
6374
+ WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
6375
+ CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
6376
+ WRITABLE => 1,
6377
+ FIRST_ENTRY => 0,
6378
+ GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
6379
+ NOTES => 'Custom settings for the D850.',
6380
+ 0.2 => {
6381
+ Name => 'CustomSettingsBank',
6382
+ Mask => 0x03,
6383
+ PrintConv => {
6384
+ 0 => 'A',
6385
+ 1 => 'B',
6386
+ 2 => 'C',
6387
+ 3 => 'D',
6388
+ },
6389
+ },
6390
+ 1.1 => { #CSa1
6391
+ Name => 'AF-CPrioritySelection',
6392
+ Mask => 0xc0,
6393
+ PrintConv => {
6394
+ 0x00 => 'Release',
6395
+ 0x40 => 'Release + Focus',
6396
+ 0x80 => 'Focus',
6397
+ 0xc0 => 'Focus + Release',
6398
+ },
6399
+ },
6400
+ 1.2 => { # CSa2
6401
+ Name => 'AF-SPrioritySelection',
6402
+ Mask => 0x20,
6403
+ PrintConv => {
6404
+ 0x00 => 'Focus',
6405
+ 0x20 => 'Release',
6406
+ },
6407
+ },
6408
+ 1.3 => { # CSa6
6409
+ Name => 'AFPointSelection',
6410
+ Mask => 0x10,
6411
+ PrintConv => {
6412
+ 0x00 => '55 Points',
6413
+ 0x10 => '15 Points',
6414
+ },
6415
+ },
6416
+ 1.4 => { # CSa4
6417
+ Name => 'Three-DTrackingFaceDetection',
6418
+ Mask => 0x08,
6419
+ PrintConv => {
6420
+ 0x00 => 'Off',
6421
+ 0x08 => 'On',
6422
+ },
6423
+ },
6424
+ 1.5 => { # CSa3-a
6425
+ Name => 'BlockShotAFResponse',
6426
+ Mask => 0x07,
6427
+ PrintConv => {
6428
+ 0x01 => '1 (Quick)',
6429
+ 0x02 => '2',
6430
+ 0x03 => '3 (Normal)',
6431
+ 0x04 => '4',
6432
+ 0x05 => '5 (Delay)',
6433
+ },
6434
+ },
6435
+ 2.1 => { # CSa11
6436
+ Name => 'FocusPointWrap',
6437
+ Mask => 0x08,
6438
+ PrintConv => {
6439
+ 0x00 => 'No Wrap',
6440
+ 0x08 => 'Wrap',
6441
+ },
6442
+ },
6443
+ 2.2 => { # CSa12-a
6444
+ Name => 'AFPointBrightness',
6445
+ Mask => 0x06,
6446
+ PrintConv => {
6447
+ 0x00 => 'Auto',
6448
+ 0x02 => 'On',
6449
+ 0x04 => 'Off',
6450
+ },
6451
+ },
6452
+ 4.1 => { # CSd3
6453
+ Name => 'ISODisplay',
6454
+ Mask => 0x08,
6455
+ PrintConv => {
6456
+ 0x00 => 'Show ISO Sensitivity',
6457
+ 0x08 => 'Show Frame Count',
6458
+ },
6459
+ },
6460
+ 4.2 => { # CSd9
6461
+ Name => 'GridDisplay',
6462
+ Mask => 0x02,
6463
+ PrintConv => { 0x00 => 'On', 0x02 => 'Off' },
6464
+ },
6465
+ 5.1 => { # CSd10
6466
+ Name => 'LCDIllumination',
6467
+ Mask => 0x20,
6468
+ PrintConv => { 0x00 => 'Off', 0x20 => 'On' },
6469
+ },
6470
+ 5.2 => { # CSd6
6471
+ Name => 'ElectronicFront-CurtainShutter',
6472
+ Mask => 0x08,
6473
+ PrintConv => { 0x00 => 'Off', 0x08 => 'On' },
6474
+ },
6475
+ 6.1 => { # CSf7
6476
+ Name => 'ReverseIndicators',
6477
+ Mask => 0x80,
6478
+ PrintConv => {
6479
+ 0x00 => '+ 0 -',
6480
+ 0x80 => '- 0 +',
6481
+ },
6482
+ },
6483
+ 6.2 => { # CSf4-a
6484
+ Name => 'CommandDialsReverseRotation',
6485
+ Mask => 0x18,
6486
+ PrintConv => {
6487
+ 0x00 => 'No',
6488
+ 0x08 => 'Shutter Speed & Aperture',
6489
+ 0x10 => 'Exposure Compensation',
6490
+ 0x18 => 'Exposure Compensation, Shutter Speed & Aperture',
6491
+ },
6492
+ },
6493
+ 6.3 => { # CSb4
6494
+ Name => 'EasyExposureCompensation',
6495
+ Mask => 0x03,
6496
+ PrintConv => {
6497
+ 0x00 => 'Off',
6498
+ 0x01 => 'On',
6499
+ 0x02 => 'On (Auto Reset)',
6500
+ },
6501
+ },
6502
+ 7.1 => { # CSb2
6503
+ Name => 'ExposureControlStepSize',
6504
+ Mask => 0xc0,
6505
+ PrintConv => {
6506
+ 0x00 => '1/3 EV',
6507
+ 0x40 => '1/2 EV',
6508
+ 0x80 => '1 EV',
6509
+ },
6510
+ },
6511
+ 7.2 => { # CSb1
6512
+ Name => 'ISOStepSize',
6513
+ Mask => 0x30,
6514
+ PrintConv => {
6515
+ 0x00 => '1/3 EV',
6516
+ 0x10 => '1/2 EV',
6517
+ 0x20 => '1 EV',
6518
+ },
6519
+ },
6520
+ 7.3 => { # CSb3
6521
+ Name => 'ExposureCompStepSize',
6522
+ Mask => 0x0c,
6523
+ PrintConv => {
6524
+ 0x00 => '1/3 EV',
6525
+ 0x04 => '1/2 EV',
6526
+ 0x08 => '1 EV',
6527
+ },
6528
+ },
6529
+ 8.1 => { # CSb6
6530
+ Name => 'CenterWeightedAreaSize',
6531
+ Mask => 0xe0,
6532
+ PrintConv => {
6533
+ 0x00 => '8 mm',
6534
+ 0x20 => '12 mm',
6535
+ 0x40 => '15 mm',
6536
+ 0x60 => '20 mm',
6537
+ 0x80 => 'Average',
6538
+ },
6539
+ },
6540
+ 8.2 => { # CSb7-a
6541
+ Name => 'FineTuneOptMatrixMetering',
6542
+ Mask => 0x0f,
6543
+ ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
6544
+ ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
6545
+ PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
6546
+ PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
6547
+ },
6548
+ 9.1 => { # CSb7-b
6549
+ Name => 'FineTuneOptCenterWeighted',
6550
+ Mask => 0xf0,
6551
+ ValueConv => '($val > 0x70 ? $val - 0x100 : $val) / 0x60',
6552
+ ValueConvInv => '(int($val*6+($val>0?0.5:-0.5))<<4) & 0xf0',
6553
+ PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
6554
+ PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
6555
+ },
6556
+ 9.2 => { # CSb7-c
6557
+ Name => 'FineTuneOptSpotMetering',
6558
+ Mask => 0x0f,
6559
+ ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
6560
+ ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
6561
+ PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
6562
+ PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
6563
+ },
6564
+ 10.1 => { # CSf2-a
6565
+ Name => 'MultiSelectorShootMode',
6566
+ Mask => 0xe0,
6567
+ PrintConv => {
6568
+ 0x00 => 'Select Center Focus Point (Reset)',
6569
+ 0x40 => 'Preset Focus Point (Pre)',
6570
+ 0x60 => 'Highlight Active Focus Point',
6571
+ 0x80 => 'Not Used (None)',
6572
+ },
6573
+ },
6574
+ 10.2 => { # CSf2-b
6575
+ Name => 'MultiSelectorPlaybackMode',
6576
+ Mask => 0x0c,
6577
+ PrintConv => {
6578
+ 0x00 => 'Thumbnail On/Off',
6579
+ 0x04 => 'View Histograms',
6580
+ 0x08 => 'Zoom On/Off',
6581
+ 0x0c => 'Choose Folder',
6582
+ },
6583
+ },
6584
+ 10.3 => { # CSf5
6585
+ Name => 'MultiSelector',
6586
+ Mask => 0x01,
6587
+ PrintConv => {
6588
+ 0x00 => 'Do Nothing',
6589
+ 0x01 => 'Reset Meter-off Delay',
6590
+ },
6591
+ },
6592
+ 11.1 => { # CSd5
6593
+ Name => 'ExposureDelayMode',
6594
+ Mask => 0xe0,
6595
+ PrintConv => {
6596
+ 0x00 => 'Off',
6597
+ 0x20 => '0.2 s', #new with the D850
6598
+ 0x40 => '0.5 s', #new with the D850
6599
+ 0x60 => '1 s',
6600
+ 0x80 => '2 s',
6601
+ 0xc0 => '3 s',
6602
+ },
6603
+ },
6604
+ 11.2 => { # CSd1
6605
+ Name => 'CLModeShootingSpeed',
6606
+ Mask => 0x0f,
6607
+ PrintConv => '"$val fps"',
6608
+ PrintConvInv => '$val=~s/\s*fps//i; $val',
6609
+ },
6610
+ 12.1 => { # CSd2
6611
+ Name => 'MaxContinuousRelease',
6612
+ # values: 1-100
6613
+ },
6614
+ 13.1 => { # CSe7
6615
+ Name => 'AutoBracketOrder',
6616
+ Mask => 0x10,
6617
+ PrintConv => {
6618
+ 0x00 => '0,-,+',
6619
+ 0x10 => '-,0,+',
6620
+ },
6621
+ },
6622
+ 13.2 => { # CSe6
6623
+ Name => 'AutoBracketModeM',
6624
+ Mask => 0x0c,
6625
+ PrintConv => {
6626
+ 0x00 => 'Flash/Speed',
6627
+ 0x04 => 'Flash/Speed/Aperture',
6628
+ 0x08 => 'Flash/Aperture',
6629
+ 0x0c => 'Flash Only',
6630
+ },
6631
+ },
6632
+ 14.1 => { # CSf1-c
6633
+ Name => 'Func1Button',
6634
+ Mask => 0x3f,
6635
+ PrintConv => {
6636
+ 0 => 'None',
6637
+ 1 => 'Preview',
6638
+ 2 => 'FV Lock',
6639
+ 3 => 'AE/AF Lock',
6640
+ 4 => 'AE Lock Only',
6641
+ 5 => 'AE Lock (reset on release)',
6642
+ 6 => 'AE Lock (hold)',
6643
+ 7 => 'AF Lock Only',
6644
+ 8 => 'AF-On',
6645
+ 10 => 'Bracketing Burst',
6646
+ 11 => 'Matrix Metering',
6647
+ 12 => 'Center-weighted Metering',
6648
+ 13 => 'Spot Metering',
6649
+ 14 => 'Playback',
6650
+ 15 => 'My Menu Top Item',
6651
+ 16 => '+NEF(RAW)',
6652
+ 17 => 'Virtual Horizon',
6653
+ 19 => 'Grid Display',
6654
+ 20 => 'My Menu',
6655
+ 22 => 'Remote Release Only',
6656
+ 26 => 'Flash Disable/Enable',
6657
+ 27 => 'Highlight-weighted Metering',
6658
+ 36 => 'AF-Area Mode (Single)',
6659
+ 37 => 'AF-Area Mode (Dynamic Area 25 Points)',
6660
+ 38 => 'AF-Area Mode (Dynamic Area 72 Points)',
6661
+ 39 => 'AF-Area Mode (Dynamic Area 153 Points)',
6662
+ 40 => 'AF-Area Mode (Group Area AF)',
6663
+ 41 => 'AF-Area Mode (Auto Area AF)',
6664
+ 42 => 'AF-Area Mode + AF-On (Single)',
6665
+ 43 => 'AF-Area Mode + AF-On (Dynamic Area 25 Points)',
6666
+ 44 => 'AF-Area Mode + AF-On (Dynamic Area 72 Points)',
6667
+ 45 => 'AF-Area Mode + AF-On (Dynamic Area 153 Points)',
6668
+ 46 => 'AF-Area Mode + AF-On (Group Area AF)',
6669
+ 47 => 'AF-Area Mode + AF-On (Auto Area AF)',
6670
+ 49 => 'Sync Release (Master Only)',
6671
+ 50 => 'Sync Release (Remote Only)',
6672
+ 56 => 'AF-Area Mode (Dynamic Area 9 Points)',
6673
+ 57 => 'AF-Area Mode + AF-On (Dynamic Area 9 Points)',
6674
+ },
6675
+ },
6676
+ 15.1 => { # CSf1-a
6677
+ Name => 'PreviewButton',
6678
+ Mask => 0x3f,
6679
+ PrintConv => {
6680
+ 0 => 'None',
6681
+ 1 => 'Preview',
6682
+ 2 => 'FV Lock',
6683
+ 3 => 'AE/AF Lock',
6684
+ 4 => 'AE Lock Only',
6685
+ 5 => 'AE Lock (reset on release)',
6686
+ 6 => 'AE Lock (hold)',
6687
+ 7 => 'AF Lock Only',
6688
+ 8 => 'AF-On',
6689
+ 10 => 'Bracketing Burst',
6690
+ 11 => 'Matrix Metering',
6691
+ 12 => 'Center-weighted Metering',
6692
+ 13 => 'Spot Metering',
6693
+ 14 => 'Playback',
6694
+ 15 => 'My Menu Top Item',
6695
+ 16 => '+NEF(RAW)',
6696
+ 17 => 'Virtual Horizon',
6697
+ 19 => 'Grid Display',
6698
+ 20 => 'My Menu',
6699
+ 22 => 'Remote Release Only',
6700
+ 26 => 'Flash Disable/Enable',
6701
+ 27 => 'Highlight-weighted Metering',
6702
+ 36 => 'AF-Area Mode (Single)',
6703
+ 37 => 'AF-Area Mode (Dynamic Area 25 Points)',
6704
+ 38 => 'AF-Area Mode (Dynamic Area 72 Points)',
6705
+ 39 => 'AF-Area Mode (Dynamic Area 153 Points)',
6706
+ 40 => 'AF-Area Mode (Group Area AF)',
6707
+ 41 => 'AF-Area Mode (Auto Area AF)',
6708
+ 42 => 'AF-Area Mode + AF-On (Single)',
6709
+ 43 => 'AF-Area Mode + AF-On (Dynamic Area 25 Points)',
6710
+ 44 => 'AF-Area Mode + AF-On (Dynamic Area 72 Points)',
6711
+ 45 => 'AF-Area Mode + AF-On (Dynamic Area 153 Points)',
6712
+ 46 => 'AF-Area Mode + AF-On (Group Area AF)',
6713
+ 47 => 'AF-Area Mode + AF-On (Auto Area AF)',
6714
+ 49 => 'Sync Release (Master Only)',
6715
+ 50 => 'Sync Release (Remote Only)',
6716
+ 56 => 'AF-Area Mode (Dynamic Area 9 Points)',
6717
+ 57 => 'AF-Area Mode + AF-On (Dynamic Area 9 Points)',
6718
+ },
6719
+ },
6720
+ 16.1 => { # CSf1-j
6721
+ Name => 'AssignBktButton',
6722
+ Mask => 0x07,
6723
+ PrintConv => {
6724
+ 0 => 'Auto Bracketing',
6725
+ 1 => 'Multiple Exposure',
6726
+ 2 => 'HDR (high dynamic range)',
6727
+ 3 => 'None',
6728
+ },
6729
+ },
6730
+ 18.1 => { # CSf4-b
6731
+ Name => 'CommandDialsChangeMainSub',
6732
+ Mask => 0xe0,
6733
+ PrintConv => {
6734
+ 0x00 => 'Autofocus Off, Exposure Off',
6735
+ 0x20 => 'Autofocus Off, Exposure On',
6736
+ 0x40 => 'Autofocus Off, Exposure On (Mode A)',
6737
+ 0x80 => 'Autofocus On, Exposure Off',
6738
+ 0xa0 => 'Autofocus On, Exposure On',
6739
+ 0xc0 => 'Autofocus On, Exposure On (Mode A)',
6740
+ },
6741
+ },
6742
+ 18.2 => { # CSf4-d
6743
+ Name => 'CommandDialsMenuAndPlayback',
6744
+ Mask => 0x18,
6745
+ PrintConv => {
6746
+ 0x00 => 'On',
6747
+ 0x08 => 'Off',
6748
+ 0x10 => 'On (Image Review Excluded)',
6749
+ },
6750
+ },
6751
+ 18.3 => { # CSf4-c
6752
+ Name => 'CommandDialsApertureSetting',
6753
+ Mask => 0x04,
6754
+ PrintConv => {
6755
+ 0x00 => 'Sub-command Dial',
6756
+ 0x04 => 'Aperture Ring',
6757
+ },
6758
+ },
6759
+ 18.4 => { # CSf6
6760
+ Name => 'ReleaseButtonToUseDial',
6761
+ Mask => 0x01,
6762
+ PrintConv => { 0x00 => 'No', 0x01 => 'Yes' },
6763
+ },
6764
+ 19.1 => { # CSc2
6765
+ Name => 'StandbyTimer',
6766
+ Mask => 0xf0,
6767
+ PrintConv => {
6768
+ 0x00 => '4 s',
6769
+ 0x10 => '6 s',
6770
+ 0x30 => '10 s',
6771
+ 0x50 => '30 s',
6772
+ 0x60 => '1 min',
6773
+ 0x70 => '5 min',
6774
+ 0x80 => '10 min',
6775
+ 0x90 => '30 min',
6776
+ 0xa0 => 'No Limit',
6777
+ },
6778
+ },
6779
+ 20.1 => { # CSc3-a
6780
+ Name => 'SelfTimerTime',
6781
+ Mask => 0xc0,
6782
+ PrintConv => {
6783
+ 0x00 => '2 s',
6784
+ 0x40 => '5 s',
6785
+ 0x80 => '10 s',
6786
+ 0xc0 => '20 s',
6787
+ },
6788
+ },
6789
+ 20.2 => { # CSc3-c
6790
+ Name => 'SelfTimerShotInterval',
6791
+ Mask => 0x30,
6792
+ PrintConv => {
6793
+ 0x00 => '0.5 s',
6794
+ 0x10 => '1 s',
6795
+ 0x20 => '2 s',
6796
+ 0x30 => '3 s',
6797
+ },
6798
+ },
6799
+ 20.3 => { # CSc3-b
6800
+ Name => 'SelfTimerShotCount',
6801
+ Mask => 0x0f,
6802
+ },
6803
+ 21.1 => { # CSc4-d
6804
+ Name => 'ImageReviewMonitorOffTime',
6805
+ Mask => 0xe0,
6806
+ PrintConv => {
6807
+ 0x00 => '2 s',
6808
+ 0x20 => '4 s',
6809
+ 0x60 => '10 s',
6810
+ 0x80 => '20 s',
6811
+ 0xa0 => '1 min',
6812
+ 0xc0 => '5 min',
6813
+ 0xe0 => '10 min',
6814
+ },
6815
+ },
6816
+ 21.2 => { # CSc4-e
6817
+ Name => 'LiveViewMonitorOffTime',
6818
+ Mask => 0x1c,
6819
+ PrintConv => {
6820
+ 0x04 => '5 min',
6821
+ 0x08 => '10 min',
6822
+ 0x0c => '15 min',
6823
+ 0x10 => '20 min',
6824
+ 0x14 => '30 min',
6825
+ 0x18 => 'No Limit',
6826
+ },
6827
+ },
6828
+ 22.1 => { # CSc4-b
6829
+ Name => 'MenuMonitorOffTime',
6830
+ Mask => 0xe0,
6831
+ PrintConv => {
6832
+ 0x00 => '4 s',
6833
+ 0x40 => '10 s',
6834
+ 0x80 => '20 s',
6835
+ 0xa0 => '1 min',
6836
+ 0xc0 => '5 min',
6837
+ 0xe0 => '10 min',
6838
+ },
6839
+ },
6840
+ 22.2 => { # CSc4-c
6841
+ Name => 'ShootingInfoMonitorOffTime',
6842
+ Mask => 0x1c,
6843
+ PrintConv => {
6844
+ 0x00 => '4 s',
6845
+ 0x08 => '10 s',
6846
+ 0x10 => '20 s',
6847
+ 0x14 => '1 min',
6848
+ 0x18 => '5 min',
6849
+ 0x1c => '10 min',
6850
+ },
6851
+ },
6852
+ 23.1 => { # CSe1
6853
+ Name => 'FlashSyncSpeed',
6854
+ Mask => 0xf0,
6855
+ PrintConv => {
6856
+ 0x20 => '1/250 s (auto FP)',
6857
+ 0x30 => '1/250 s',
6858
+ 0x50 => '1/200 s',
6859
+ 0x60 => '1/160 s',
6860
+ 0x70 => '1/125 s',
6861
+ 0x80 => '1/100 s',
6862
+ 0x90 => '1/80 s',
6863
+ 0xa0 => '1/60 s',
6864
+ },
6865
+ },
6866
+ 23.2 => { # CSe2
6867
+ Name => 'FlashShutterSpeed',
6868
+ Mask => 0x0f,
6869
+ PrintConvColumns => 2,
6870
+ PrintConv => {
6871
+ 0x00 => '1/60 s',
6872
+ 0x01 => '1/30 s',
6873
+ 0x02 => '1/15 s',
6874
+ 0x03 => '1/8 s',
6875
+ 0x04 => '1/4 s',
6876
+ 0x05 => '1/2 s',
6877
+ 0x06 => '1 s',
6878
+ 0x07 => '2 s',
6879
+ 0x08 => '4 s',
6880
+ 0x09 => '8 s',
6881
+ 0x0a => '15 s',
6882
+ 0x0b => '30 s',
6883
+ },
6884
+ },
6885
+ 31.1 => { # CSe5
6886
+ Name => 'ModelingFlash',
6887
+ Mask => 0x20,
6888
+ PrintConv => {
6889
+ 0x00 => 'On',
6890
+ 0x20 => 'Off',
6891
+ },
6892
+ },
6893
+ 36.1 => { # CSc4-a
6894
+ Name => 'PlaybackMonitorOffTime',
6895
+ Mask => 0xe0,
6896
+ PrintConv => {
6897
+ 0x00 => '4 s',
6898
+ 0x20 => '10 s',
6899
+ 0x40 => '20 s',
6900
+ 0x60 => '1 min',
6901
+ 0x80 => '5 min',
6902
+ 0xa0 => '10 min',
6903
+ },
6904
+ },
6905
+ 37.1 => { # CSf2-c
6906
+ Name => 'MultiSelectorLiveView',
6907
+ Mask => 0xc0,
6908
+ PrintConv => {
6909
+ 0x00 => 'Reset',
6910
+ 0x40 => 'Zoom',
6911
+ 0xc0 => 'Not Used',
6912
+ },
6913
+ },
6914
+ 38.1 => { # CSf3-a
6915
+ Name => 'ShutterSpeedLock',
6916
+ Mask => 0x80,
6917
+ PrintConv => {
6918
+ 0x00 => 'Off',
6919
+ 0x80 => 'On',
6920
+ },
6921
+ },
6922
+ 38.2 => { # CSf3-b
6923
+ Name => 'ApertureLock',
6924
+ Mask => 0x40,
6925
+ PrintConv => {
6926
+ 0x00 => 'Off',
6927
+ 0x40 => 'On',
6928
+ },
6929
+ },
6930
+ 38.3 => { # CSg1-h
6931
+ Name => 'MovieShutterButton',
6932
+ Mask => 0x10,
6933
+ PrintConv => {
6934
+ 0x00 => 'Take Photo',
6935
+ 0x10 => 'Record Movies',
6936
+ },
6937
+ },
6938
+ 38.4 => { # CSe3
6939
+ Name => 'FlashExposureCompArea',
6940
+ Mask => 0x04,
6941
+ PrintConv => {
6942
+ 0x00 => 'Entire Frame',
6943
+ 0x04 => 'Background Only',
6944
+ },
6945
+ },
6946
+ 38.5 => { # CSe4
6947
+ Name => 'AutoFlashISOSensitivity',
6948
+ Mask => 0x02,
6949
+ PrintConv => {
6950
+ 0x00 => 'Subject and Background',
6951
+ 0x02 => 'Subject Only',
6952
+ },
6953
+ },
6954
+ 41.1 => { # CSg1-c
6955
+ Name => 'MovieFunc1Button',
6956
+ Mask => 0xf0,
6957
+ PrintConv => {
6958
+ 0x00 => 'None',
6959
+ 0x20 => 'Power Aperture (close)',
6960
+ 0x30 => 'Index Marking',
6961
+ 0x40 => 'View Photo Shooting Info',
6962
+ 0xb0 => 'Exposure Compensation -',
6963
+ },
6964
+ },
6965
+ 41.2 => { # CSg1-a
6966
+ Name => 'MoviePreviewButton',
6967
+ Mask => 0x0f,
6968
+ PrintConv => {
6969
+ 0x00 => 'None',
6970
+ 0x01 => 'Power Aperture (open)',
6971
+ 0x03 => 'Index Marking',
6972
+ 0x04 => 'View Photo Shooting Info',
6973
+ 0x0a => 'Exposure Compensation +',
6974
+ },
6975
+ },
6976
+ 42.1 => { # CSf1-d
6977
+ Name => 'Func1ButtonPlusDials',
6978
+ Mask => 0x0f,
6979
+ PrintConv => {
6980
+ 0 => 'None',
6981
+ 1 => 'Choose Image Area',
6982
+ 2 => 'Shutter Speed & Aperture Lock',
6983
+ 3 => 'One Step Speed / Aperture',
6984
+ 4 => 'Choose Non-CPU Lens Number',
6985
+ 5 => 'Active D-Lighting',
6986
+ 7 => 'Photo Shooting Menu Bank',
6987
+ 8 => 'Exposure Delay Mode',
6988
+ },
6989
+ },
6990
+ 43.1 => { # CSf1-b
6991
+ Name => 'PreviewButtonPlusDials',
6992
+ Mask => 0x0f,
6993
+ PrintConv => {
6994
+ 0 => 'None',
6995
+ 1 => 'Choose Image Area',
6996
+ 2 => 'Shutter Speed & Aperture Lock',
6997
+ 3 => 'One Step Speed / Aperture',
6998
+ 4 => 'Choose Non-CPU Lens Number',
6999
+ 5 => 'Active D-Lighting',
7000
+ 7 => 'Photo Shooting Menu Bank',
7001
+ 8 => 'Exposure Delay Mode',
7002
+ },
7003
+ },
7004
+ 45.1 => { # CSf1-k
7005
+ Name => 'AssignMovieRecordButtonPlusDials',
7006
+ Mask => 0x0f,
7007
+ PrintConv => {
7008
+ 0 => 'None',
7009
+ 1 => 'Choose Image Area',
7010
+ 2 => 'Shutter Speed & Aperture Lock',
7011
+ 7 => 'Photo Shooting Menu Bank',
7012
+ 11 => 'Exposure Mode',
7013
+ },
7014
+ },
7015
+ 46.1 => { # CSb7-d
7016
+ Name => 'FineTuneOptHighlightWeighted',
7017
+ Mask => 0x0f,
7018
+ ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
7019
+ ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
7020
+ PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
7021
+ PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
7022
+ },
7023
+ 47.1 => { # CSa12-c
7024
+ Name => 'DynamicAreaAFDisplay',
7025
+ Mask => 0x80,
7026
+ PrintConv => {
7027
+ 0x00 => 'Off',
7028
+ 0x80 => 'On',
7029
+ },
7030
+ },
7031
+ 47.2 => { # CSa12-b
7032
+ Name => 'AFPointIllumination',
7033
+ Mask => 0x40,
7034
+ PrintConv => {
7035
+ 0x00 => 'Off',
7036
+ 0x40 => 'On During Manual Focusing',
7037
+ },
7038
+ },
7039
+ 47.3 => { # CSa7
7040
+ Name => 'StoreByOrientation',
7041
+ Mask => 0x18,
7042
+ PrintConv => {
7043
+ 0x00 => 'Off',
7044
+ 0x08 => 'Focus Point',
7045
+ 0x10 => 'Focus Point and AF-area Mode',
7046
+ },
7047
+ },
7048
+ 48.1 => { # CSb5
7049
+ Name => 'MatrixMetering',
7050
+ Mask => 0x80,
7051
+ PrintConv => {
7052
+ 0x00 => 'Face Detection On',
7053
+ 0x80 => 'Face Detection Off',
7054
+ },
7055
+ },
7056
+ 48.2 => { # CSf8
7057
+ Name => 'LiveViewButtonOptions',
7058
+ Mask => 0x30,
7059
+ PrintConv => {
7060
+ 0x00 => 'Enable',
7061
+ 0x10 => 'Enable (Standby Timer Active)',
7062
+ 0x20 => 'Disable',
7063
+ },
7064
+ },
7065
+ 48.3 => { # CSa10
7066
+ Name => 'AFModeRestrictions',
7067
+ Mask => 0x03,
7068
+ PrintConv => {
7069
+ 0x00 => 'No Restrictions',
7070
+ 0x01 => 'AF-C',
7071
+ 0x02 => 'AF-S',
7072
+ },
7073
+ },
7074
+ 49.1 => { # CSa9
7075
+ Name => 'LimitAFAreaModeSelection', #note that 'Dynamic area (9 points)' can be selected from the camera menu but the setting is not writen to the EXIF data.
7076
+ Mask => 0x7e, #...This AF Mode was addded to the D5 firmware several months after the camera's initial release which may help explain the inconsistency.
7077
+ PrintConv => {
7078
+ 0 => 'No Restrictions',
7079
+ BITMASK => {
7080
+ 1 => 'Auto-area',
7081
+ 2 => 'Group-area',
7082
+ 3 => '3D-tracking',
7083
+ 4 => 'Dynamic area (153 points)',
7084
+ 5 => 'Dynamic area (72 points)',
7085
+ 6 => 'Dynamic area (25 points)',
7086
+ },
7087
+ },
7088
+ },
7089
+ 52.1 => { # CSf1-l
7090
+ Name => 'LensFocusFunctionButtons',
7091
+ Mask => 0x3f,
7092
+ PrintConv => {
7093
+ 3 => 'AE/AF Lock',
7094
+ 4 => 'AE Lock Only',
7095
+ 7 => 'AF Lock Only',
7096
+ 8 => 'AF-On',
7097
+ 24 => 'Preset Focus Point',
7098
+ 26 => 'Flash Disable/Enable',
7099
+ 36 => 'AF-Area Mode (Single)',
7100
+ 37 => 'AF-Area Mode (Dynamic Area 25 Points)',
7101
+ 38 => 'AF-Area Mode (Dynamic Area 72 Points)',
7102
+ 39 => 'AF-Area Mode (Dynamic Area 153 Points)',
7103
+ 40 => 'AF-Area Mode (Group Area AF)',
7104
+ 41 => 'AF-Area Mode (Auto Area AF)',
7105
+ 42 => 'AF-Area Mode + AF-On (Single)',
7106
+ 43 => 'AF-Area Mode + AF-On (Dynamic Area 25 Points)',
7107
+ 44 => 'AF-Area Mode + AF-On (Dynamic Area 72 Points)',
7108
+ 45 => 'AF-Area Mode + AF-On (Dynamic Area 153 Points)',
7109
+ 46 => 'AF-Area Mode + AF-On (Group Area AF)',
7110
+ 47 => 'AF-Area Mode + AF-On (Auto Area AF)',
7111
+ 49 => 'Sync Release (Master Only)',
7112
+ 50 => 'Sync Release (Remote Only)',
7113
+ 56 => 'AF-Area Mode (Dynamic Area 9 Points)',
7114
+ 57 => 'AF-Area Mode + AF-On (Dynamic Area 9 Points)',
7115
+ },
7116
+ },
7117
+ 66.1 => { # CSf10-d
7118
+ Name => 'VerticalMultiSelector',
7119
+ Mask => 0xff,
7120
+ PrintConv => {
7121
+ 0x00 => 'Same as Multi-Selector with Info(U/D) & Playback(R/L)',
7122
+ 0x08 => 'Same as Multi-Selector with Info(R/L) & Playback(U/D)',
7123
+ 0x80 => 'Focus Point Selection',
7124
+ },
7125
+ },
7126
+ 67.1 => { # CSf10-a
7127
+ Name => 'AssignMB-D18FuncButton',
7128
+ Mask => 0x3f,
7129
+ PrintConv => {
7130
+ 0 => 'None',
7131
+ 1 => 'Preview',
7132
+ 2 => 'FV Lock',
7133
+ 3 => 'AE/AF Lock',
7134
+ 4 => 'AE Lock Only',
7135
+ 5 => 'AE Lock (reset on release)',
7136
+ 6 => 'AE Lock (hold)',
7137
+ 7 => 'AF Lock Only',
7138
+ 8 => 'AF-On',
7139
+ 10 => 'Bracketing Burst',
7140
+ 11 => 'Matrix Metering',
7141
+ 12 => 'Center-weighted Metering',
7142
+ 13 => 'Spot Metering',
7143
+ 14 => 'Playback',
7144
+ 15 => 'My Menu Top Item',
7145
+ 16 => '+NEF(RAW)',
7146
+ 17 => 'Virtual Horizon',
7147
+ 18 => 'Reset Focus Point',
7148
+ 19 => 'Grid Display',
7149
+ 20 => 'My Menu',
7150
+ 22 => 'Remote Release Only',
7151
+ 23 => 'Preset Focus Point',
7152
+ 26 => 'Flash Disable/Enable',
7153
+ 27 => 'Highlight-weighted Metering',
7154
+ 36 => 'AF-Area Mode (Single)',
7155
+ 37 => 'AF-Area Mode (Dynamic Area 25 Points)',
7156
+ 38 => 'AF-Area Mode (Dynamic Area 72 Points)',
7157
+ 39 => 'AF-Area Mode (Dynamic Area 153 Points)',
7158
+ 40 => 'AF-Area Mode (Group Area AF)',
7159
+ 41 => 'AF-Area Mode (Auto Area AF)',
7160
+ 42 => 'AF-Area Mode + AF-On (Single)',
7161
+ 43 => 'AF-Area Mode + AF-On (Dynamic Area 25 Points)',
7162
+ 44 => 'AF-Area Mode + AF-On (Dynamic Area 72 Points)',
7163
+ 45 => 'AF-Area Mode + AF-On (Dynamic Area 153 Points)',
7164
+ 46 => 'AF-Area Mode + AF-On (Group Area AF)',
7165
+ 47 => 'AF-Area Mode + AF-On (Auto Area AF)',
7166
+ 49 => 'Sync Release (Master Only)',
7167
+ 50 => 'Sync Release (Remote Only)',
7168
+ 54 => 'Highlight Active Focus Point',
7169
+ 56 => 'AF-Area Mode (Dynamic Area 9 Points)',
7170
+ 57 => 'AF-Area Mode + AF-On (Dynamic Area 9 Points)',
7171
+ },
7172
+ },
7173
+ 68.1 => { # CSf10-b
7174
+ Name => 'AssignMB-D18FuncButtonPlusDials',
7175
+ Mask => 0x0f,
7176
+ PrintConv => {
7177
+ 0 => 'None',
7178
+ 1 => 'Choose Image Area',
7179
+ 2 => 'Shutter Speed & Aperture Lock',
7180
+ 3 => 'One Step Speed / Aperture',
7181
+ 4 => 'Choose Non-CPU Lens Number',
7182
+ 5 => 'Active D-Lighting',
7183
+ 7 => 'Photo Shooting Menu Bank',
7184
+ 8 => 'Exposure Delay Mode',
7185
+ 10 => 'ISO Sensitivity',
7186
+ 11 => 'Exposure Mode',
7187
+ 12 => 'Exposure Compensation',
7188
+ 13 => 'Metering Mode',
7189
+ },
7190
+ },
7191
+ 70.1 => { # CSf1-f
7192
+ Name => 'AF-OnButton',
7193
+ Mask => 0x3f,
7194
+ PrintConv => {
7195
+ 0 => 'None',
7196
+ 3 => 'AE/AF Lock',
7197
+ 4 => 'AE Lock Only',
7198
+ 5 => 'AE Lock (reset on release)',
7199
+ 6 => 'AE Lock (hold)',
7200
+ 7 => 'AF Lock Only',
7201
+ 8 => 'AF-On',
7202
+ 36 => 'AF-Area Mode (Single)',
7203
+ 37 => 'AF-Area Mode (Dynamic Area 25 Points)',
7204
+ 38 => 'AF-Area Mode (Dynamic Area 72 Points)',
7205
+ 39 => 'AF-Area Mode (Dynamic Area 153 Points)',
7206
+ 40 => 'AF-Area Mode (Group Area AF)',
7207
+ 41 => 'AF-Area Mode (Auto Area AF)',
7208
+ 42 => 'AF-Area Mode + AF-On (Single)',
7209
+ 43 => 'AF-Area Mode + AF-On (Dynamic Area 25 Points)',
7210
+ 44 => 'AF-Area Mode + AF-On (Dynamic Area 72 Points)',
7211
+ 45 => 'AF-Area Mode + AF-On (Dynamic Area 153 Points)',
7212
+ 46 => 'AF-Area Mode + AF-On (Group Area AF)',
7213
+ 47 => 'AF-Area Mode + AF-On (Auto Area AF)',
7214
+ 56 => 'AF-Area Mode (Dynamic Area 9 Points)',
7215
+ 57 => 'AF-Area Mode + AF-On (Dynamic Area 9 Points)',
7216
+ },
7217
+ },
7218
+ 71.1 => { # CSf1-g
7219
+ Name => 'SubSelector',
7220
+ Mask => 0x80,
7221
+ PrintConv => {
7222
+ 0x00 => 'Focus Point Selection',
7223
+ 0x80 => 'Same as MultiSelector',
7224
+ },
7225
+ },
7226
+ 72.1 => { # CSf1-h
7227
+ Name => 'SubSelectorCenter',
7228
+ Mask => 0x3f,
7229
+ PrintConv => {
7230
+ 0 => 'None',
7231
+ 1 => 'Preview',
7232
+ 2 => 'FV Lock',
7233
+ 3 => 'AE/AF Lock',
7234
+ 4 => 'AE Lock Only',
7235
+ 5 => 'AE Lock (reset on release)',
7236
+ 6 => 'AE Lock (hold)',
7237
+ 7 => 'AF Lock Only',
7238
+ 8 => 'AF-On',
7239
+ 10 => 'Bracketing Burst',
7240
+ 11 => 'Matrix Metering',
7241
+ 12 => 'Center-weighted Metering',
7242
+ 13 => 'Spot Metering',
7243
+ 14 => 'Playback',
7244
+ 15 => 'My Menu Top Item',
7245
+ 16 => '+NEF(RAW)',
7246
+ 17 => 'Virtual Horizon',
7247
+ 18 => 'Reset Focus Point',
7248
+ 19 => 'Grid Display',
7249
+ 20 => 'My Menu',
7250
+ 22 => 'Remote Release Only',
7251
+ 23 => 'Preset Focus Point',
7252
+ 26 => 'Flash Disable/Enable',
7253
+ 27 => 'Highlight-weighted Metering',
7254
+ 36 => 'AF-Area Mode (Single)',
7255
+ 37 => 'AF-Area Mode (Dynamic Area 25 Points)',
7256
+ 38 => 'AF-Area Mode (Dynamic Area 72 Points)',
7257
+ 39 => 'AF-Area Mode (Dynamic Area 153 Points)',
7258
+ 40 => 'AF-Area Mode (Group Area AF)',
7259
+ 41 => 'AF-Area Mode (Auto Area AF)',
7260
+ 42 => 'AF-Area Mode + AF-On (Single)',
7261
+ 43 => 'AF-Area Mode + AF-On (Dynamic Area 25 Points)',
7262
+ 44 => 'AF-Area Mode + AF-On (Dynamic Area 72 Points)',
7263
+ 45 => 'AF-Area Mode + AF-On (Dynamic Area 153 Points)',
7264
+ 46 => 'AF-Area Mode + AF-On (Group Area AF)',
7265
+ 47 => 'AF-Area Mode + AF-On (Auto Area AF)',
7266
+ 49 => 'Sync Release (Master Only)',
7267
+ 50 => 'Sync Release (Remote Only)',
7268
+ 54 => 'Highlight Active Focus Point',
7269
+ 56 => 'AF-Area Mode (Dynamic Area 9 Points)',
7270
+ 57 => 'AF-Area Mode + AF-On (Dynamic Area 9 Points)',
7271
+ },
7272
+ },
7273
+ 73.1 => { # CSf1-i
7274
+ Name => 'SubSelectorPlusDials',
7275
+ Mask => 0x0f,
7276
+ PrintConv => {
7277
+ 0 => 'None',
7278
+ 1 => 'Choose Image Area',
7279
+ 2 => 'Shutter Speed & Aperture Lock',
7280
+ 4 => 'Choose Non-CPU Lens Number',
7281
+ 7 => 'Photo Shooting Menu Bank',
7282
+ },
7283
+ },
7284
+ 74.1 => { # CSg1-f
7285
+ Name => 'AssignMovieSubselector',
7286
+ Mask => 0xf0,
7287
+ PrintConv => {
7288
+ 0x00 => 'None',
7289
+ 0x30 => 'Index Marking',
7290
+ 0x40 => 'View Photo Shooting Info',
7291
+ 0x50 => 'AE/AF Lock',
7292
+ 0x60 => 'AE Lock (Only)',
7293
+ 0x70 => 'AE Lock (Hold)',
7294
+ 0x80 => 'AF Lock (Only)',
7295
+ },
7296
+ },
7297
+ 75.1 => { # CSg1-d
7298
+ Name => 'AssignMovieFunc1ButtonPlusDials',
7299
+ Mask => 0x10,
7300
+ PrintConv => {
7301
+ 0x00 => 'None',
7302
+ 0x10 => 'Choose Image Area',
7303
+ },
7304
+ },
7305
+ 75.2 => { # CSg1-b
7306
+ Name => 'AssignMoviePreviewButtonPlusDials',
7307
+ Mask => 0x01,
7308
+ PrintConv => {
7309
+ 0 => 'None',
7310
+ 1 => 'Choose Image Area',
7311
+ },
7312
+ },
7313
+ 76.1 => { # CSg1-g
7314
+ Name => 'AssignMovieSubselectorPlusDials',
7315
+ Mask => 0x10,
7316
+ PrintConv => {
7317
+ 0x00 => 'None',
7318
+ 0x10 => 'Choose Image Area',
7319
+ },
7320
+ },
7321
+ 77.1 => { # CSd4
7322
+ Name => 'SyncReleaseMode',
7323
+ Mask => 0x80,
7324
+ PrintConv => {
7325
+ 0x00 => 'No Sync',
7326
+ 0x80 => 'Sync',
7327
+ },
7328
+ },
7329
+ 77.2 => { # CSd11 (new with D850)
7330
+ Name => 'ContinuousModeLiveView',
7331
+ Mask => 0x40,
7332
+ PrintConv => {
7333
+ 0x00 => 'Off',
7334
+ 0x40 => 'On',
7335
+ },
7336
+ },
7337
+ 78.1 => { # CSa5
7338
+ Name => 'Three-DTrackingWatchArea',
7339
+ Mask => 0x80,
7340
+ PrintConv => {
7341
+ 0x00 => 'Wide',
7342
+ 0x80 => 'Normal',
7343
+ },
7344
+ },
7345
+ 78.2 => { # CSa3-b
7346
+ Name => 'SubjectMotion',
7347
+ Mask => 0x60,
7348
+ PrintConv => {
7349
+ 0x00 => 'Steady',
7350
+ 0x20 => 'Middle',
7351
+ 0x40 => 'Erratic',
7352
+ },
7353
+ },
7354
+ 78.3 => { # CSa8
7355
+ Name => 'AFActivation',
7356
+ Mask => 0x08,
7357
+ PrintConv => {
7358
+ 0x00 => 'Shutter/AF-On',
7359
+ 0x08 => 'AF-On Only',
7360
+ },
7361
+ },
7362
+ 78.4 => { # CSc1
7363
+ Name => 'ShutterReleaseButtonAE-L',
7364
+ Mask => 0x03,
7365
+ PrintConv => {
7366
+ 0x00 => 'Off',
7367
+ 0x01 => 'On (Half Press)',
7368
+ 0x02 => 'On (Burst Mode)'
7369
+ },
7370
+ },
7371
+ 79.1 => { # CSf10-c
7372
+ Name => 'AssignMB-D18AF-OnButton',
7373
+ Mask => 0x7f,
7374
+ PrintConv => {
7375
+ 0 => 'None',
7376
+ 3 => 'AE/AF Lock',
7377
+ 4 => 'AE Lock Only',
7378
+ 5 => 'AE Lock (reset on release)',
7379
+ 6 => 'AE Lock (hold)',
7380
+ 7 => 'AF Lock Only',
7381
+ 8 => 'AF-On',
7382
+ 36 => 'AF-Area Mode (Single)',
7383
+ 37 => 'AF-Area Mode (Dynamic Area 25 Points)',
7384
+ 38 => 'AF-Area Mode (Dynamic Area 72 Points)',
7385
+ 39 => 'AF-Area Mode (Dynamic Area 153 Points)',
7386
+ 40 => 'AF-Area Mode (Group Area AF)',
7387
+ 41 => 'AF-Area Mode (Auto Area AF)',
7388
+ 42 => 'AF-Area Mode + AF-On (Single)',
7389
+ 43 => 'AF-Area Mode + AF-On (Dynamic Area 25 Points)',
7390
+ 44 => 'AF-Area Mode + AF-On (Dynamic Area 72 Points)',
7391
+ 45 => 'AF-Area Mode + AF-On (Dynamic Area 153 Points)',
7392
+ 46 => 'AF-Area Mode + AF-On (Group Area AF)',
7393
+ 47 => 'AF-Area Mode + AF-On (Auto Area AF)',
7394
+ 56 => 'AF-Area Mode (Dynamic Area 9 Points)',
7395
+ 57 => 'AF-Area Mode + AF-On (Dynamic Area 9 Points)',
7396
+ 100 => 'Same as Camera AF-On Button',
7397
+ },
7398
+ },
7399
+ 80.1 => { # CSf1-e
7400
+ Name => 'Func2Button',
7401
+ Mask => 0x3f,
7402
+ PrintConv => {
7403
+ 0 => 'None',
7404
+ 15 => 'My Menu Top Item',
7405
+ 20 => 'My Menu',
7406
+ 55 => 'Rating',
7407
+ },
7408
+ },
7409
+ 82.1 => { # CSg1-e
7410
+ Name => 'AssignMovieFunc2Button',
7411
+ Mask => 0x70,
7412
+ PrintConv => {
7413
+ 0x00 => 'None',
7414
+ 0x30 => 'Index Marking',
7415
+ 0x40 => 'View Photo Shooting Info',
7416
+ },
7417
+ },
7418
+ );
7419
+
6371
7420
  # D5000 custom settings (ref PH)
6372
7421
  %Image::ExifTool::NikonCustom::SettingsD5000 = (
6373
7422
  PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,