exiftool-vendored.exe 12.42.0 → 12.43.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.
- package/bin/exiftool_files/Changes +22 -0
- package/bin/exiftool_files/README +2 -2
- package/bin/exiftool_files/exiftool.pl +2 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Apple.pm +11 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Canon.pm +33 -27
- package/bin/exiftool_files/lib/Image/ExifTool/DJI.pm +2 -1
- package/bin/exiftool_files/lib/Image/ExifTool/DarwinCore.pm +12 -1
- package/bin/exiftool_files/lib/Image/ExifTool/FlashPix.pm +14 -1
- package/bin/exiftool_files/lib/Image/ExifTool/FujiFilm.pm +21 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Geotag.pm +24 -4
- package/bin/exiftool_files/lib/Image/ExifTool/LNK.pm +5 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Nikon.pm +15 -6
- package/bin/exiftool_files/lib/Image/ExifTool/Olympus.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Parrot.pm +1 -0
- package/bin/exiftool_files/lib/Image/ExifTool/QuickTimeStream.pl +38 -6
- package/bin/exiftool_files/lib/Image/ExifTool/README +5 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Sony.pm +29 -27
- package/bin/exiftool_files/lib/Image/ExifTool/TagLookup.pm +2493 -2479
- package/bin/exiftool_files/lib/Image/ExifTool/TagNames.pod +77 -59
- package/bin/exiftool_files/lib/Image/ExifTool/WritePhotoshop.pl +5 -5
- package/bin/exiftool_files/lib/Image/ExifTool/Writer.pl +1 -0
- package/bin/exiftool_files/lib/Image/ExifTool.pm +31 -7
- package/bin/exiftool_files/lib/Image/ExifTool.pod +13 -4
- package/package.json +3 -3
|
@@ -12,7 +12,7 @@ meta information extracted from or written to a file.
|
|
|
12
12
|
=head1 TAG TABLES
|
|
13
13
|
|
|
14
14
|
The tables listed below give the names of all tags recognized by ExifTool.
|
|
15
|
-
They contain a total of
|
|
15
|
+
They contain a total of 25802 tags, with 16493 unique tag names.
|
|
16
16
|
|
|
17
17
|
B<Tag ID>, B<Index#> or B<Sequence> is given in the first column of each
|
|
18
18
|
table. A B<Tag ID> is the computer-readable equivalent of a tag name, and
|
|
@@ -6982,6 +6982,7 @@ Tags extracted from the maker notes of iPhone images.
|
|
|
6982
6982
|
0x0008 AccelerationVector rational64s[3]
|
|
6983
6983
|
0x000a HDRImageType int32s
|
|
6984
6984
|
0x000b BurstUUID string
|
|
6985
|
+
0x000c FocusDistanceRange rational64s[2]
|
|
6985
6986
|
0x0011 MediaGroupUUID string
|
|
6986
6987
|
0x0015 ImageUniqueID string
|
|
6987
6988
|
|
|
@@ -8406,16 +8407,16 @@ WB tags for the Canon G9.
|
|
|
8406
8407
|
|
|
8407
8408
|
Index4 Tag Name Writable
|
|
8408
8409
|
------ -------- --------
|
|
8409
|
-
2
|
|
8410
|
-
10
|
|
8411
|
-
18
|
|
8412
|
-
26
|
|
8413
|
-
34
|
|
8414
|
-
42
|
|
8415
|
-
50
|
|
8416
|
-
58
|
|
8417
|
-
66
|
|
8418
|
-
74
|
|
8410
|
+
2 WB_GRBGLevelsAuto int32s[4]
|
|
8411
|
+
10 WB_GRBGLevelsDaylight int32s[4]
|
|
8412
|
+
18 WB_GRBGLevelsCloudy int32s[4]
|
|
8413
|
+
26 WB_GRBGLevelsTungsten int32s[4]
|
|
8414
|
+
34 WB_GRBGLevelsFluorescent int32s[4]
|
|
8415
|
+
42 WB_GRBGLevelsFluorHigh int32s[4]
|
|
8416
|
+
50 WB_GRBGLevelsFlash int32s[4]
|
|
8417
|
+
58 WB_GRBGLevelsUnderwater int32s[4]
|
|
8418
|
+
66 WB_GRBGLevelsCustom1 int32s[4]
|
|
8419
|
+
74 WB_GRBGLevelsCustom2 int32s[4]
|
|
8419
8420
|
|
|
8420
8421
|
=head3 Canon FaceDetect3 Tags
|
|
8421
8422
|
|
|
@@ -20789,39 +20790,39 @@ Tags in the encrypted SR2SubIFD
|
|
|
20789
20790
|
|
|
20790
20791
|
Tag ID Tag Name Writable
|
|
20791
20792
|
------ -------- --------
|
|
20792
|
-
0x7300 BlackLevel
|
|
20793
|
-
0x7302 WB_GRBGLevelsAuto
|
|
20794
|
-
0x7303 WB_GRBGLevels
|
|
20795
|
-
0x7310 BlackLevel
|
|
20796
|
-
0x7312 WB_RGGBLevelsAuto
|
|
20797
|
-
0x7313 WB_RGGBLevels
|
|
20798
|
-
0x7480 WB_RGBLevelsDaylight
|
|
20799
|
-
0x7481 WB_RGBLevelsCloudy
|
|
20800
|
-
0x7482 WB_RGBLevelsTungsten
|
|
20801
|
-
0x7483 WB_RGBLevelsFlash
|
|
20802
|
-
0x7484 WB_RGBLevels4500K
|
|
20803
|
-
0x7486 WB_RGBLevelsFluorescent
|
|
20793
|
+
0x7300 BlackLevel int16u[4]!
|
|
20794
|
+
0x7302 WB_GRBGLevelsAuto int16s[4]!
|
|
20795
|
+
0x7303 WB_GRBGLevels int16s[4]!
|
|
20796
|
+
0x7310 BlackLevel int16u[4]!
|
|
20797
|
+
0x7312 WB_RGGBLevelsAuto int16s[4]!
|
|
20798
|
+
0x7313 WB_RGGBLevels int16s[4]!
|
|
20799
|
+
0x7480 WB_RGBLevelsDaylight int16s[4]!
|
|
20800
|
+
0x7481 WB_RGBLevelsCloudy int16s[4]!
|
|
20801
|
+
0x7482 WB_RGBLevelsTungsten int16s[4]!
|
|
20802
|
+
0x7483 WB_RGBLevelsFlash int16s[4]!
|
|
20803
|
+
0x7484 WB_RGBLevels4500K int16s[4]!
|
|
20804
|
+
0x7486 WB_RGBLevelsFluorescent int16s[4]!
|
|
20804
20805
|
0x74a0 MaxApertureAtMaxFocal no
|
|
20805
20806
|
0x74a1 MaxApertureAtMinFocal no
|
|
20806
20807
|
0x74a2 MaxFocalLength no
|
|
20807
20808
|
0x74a3 MinFocalLength no
|
|
20808
20809
|
0x74c0 SR2DataIFD Sony SR2DataIFD
|
|
20809
20810
|
0x7800 ColorMatrix no
|
|
20810
|
-
0x7820 WB_RGBLevelsDaylight
|
|
20811
|
-
0x7821 WB_RGBLevelsCloudy
|
|
20812
|
-
0x7822 WB_RGBLevelsTungsten
|
|
20813
|
-
0x7823 WB_RGBLevelsFlash
|
|
20814
|
-
0x7824 WB_RGBLevels4500K
|
|
20815
|
-
0x7825 WB_RGBLevelsShade
|
|
20816
|
-
0x7826 WB_RGBLevelsFluorescent
|
|
20817
|
-
0x7827 WB_RGBLevelsFluorescentP1
|
|
20818
|
-
0x7828 WB_RGBLevelsFluorescentP2
|
|
20819
|
-
0x7829 WB_RGBLevelsFluorescentM1
|
|
20820
|
-
0x782a WB_RGBLevels8500K
|
|
20821
|
-
0x782b WB_RGBLevels6000K
|
|
20822
|
-
0x782c WB_RGBLevels3200K
|
|
20823
|
-
0x782d WB_RGBLevels2500K
|
|
20824
|
-
0x787f WhiteLevel
|
|
20811
|
+
0x7820 WB_RGBLevelsDaylight int16s[3]!
|
|
20812
|
+
0x7821 WB_RGBLevelsCloudy int16s[3]!
|
|
20813
|
+
0x7822 WB_RGBLevelsTungsten int16s[3]!
|
|
20814
|
+
0x7823 WB_RGBLevelsFlash int16s[3]!
|
|
20815
|
+
0x7824 WB_RGBLevels4500K int16s[3]!
|
|
20816
|
+
0x7825 WB_RGBLevelsShade int16s[3]!
|
|
20817
|
+
0x7826 WB_RGBLevelsFluorescent int16s[3]!
|
|
20818
|
+
0x7827 WB_RGBLevelsFluorescentP1 int16s[3]!
|
|
20819
|
+
0x7828 WB_RGBLevelsFluorescentP2 int16s[3]!
|
|
20820
|
+
0x7829 WB_RGBLevelsFluorescentM1 int16s[3]!
|
|
20821
|
+
0x782a WB_RGBLevels8500K int16s[3]!
|
|
20822
|
+
0x782b WB_RGBLevels6000K int16s[3]!
|
|
20823
|
+
0x782c WB_RGBLevels3200K int16s[3]!
|
|
20824
|
+
0x782d WB_RGBLevels2500K int16s[3]!
|
|
20825
|
+
0x787f WhiteLevel int16u[3]!
|
|
20825
20826
|
0x797d VignettingCorrParams no
|
|
20826
20827
|
0x7980 ChromaticAberrationCorrParams no
|
|
20827
20828
|
0x7982 DistortionCorrParams no
|
|
@@ -21656,28 +21657,29 @@ unrecognized Windows Compound Binary file as a FlashPix (FPX) file. See
|
|
|
21656
21657
|
L<http://graphcomp.com/info/specs/livepicture/fpx.pdf> for the FlashPix
|
|
21657
21658
|
specification.
|
|
21658
21659
|
|
|
21659
|
-
Tag ID
|
|
21660
|
-
------
|
|
21661
|
-
"\x01CompObj"
|
|
21662
|
-
"\x05Audio Info"
|
|
21663
|
-
"\x05Data Object"
|
|
21660
|
+
Tag ID Tag Name Writable
|
|
21661
|
+
------ -------- --------
|
|
21662
|
+
"\x01CompObj" CompObj FlashPix CompObj
|
|
21663
|
+
"\x05Audio Info" AudioInfo FlashPix AudioInfo
|
|
21664
|
+
"\x05Data Object" DataObject FlashPix DataObject
|
|
21664
21665
|
"\x05DocumentSummaryInformation" DocumentInfo FlashPix DocumentInfo
|
|
21665
|
-
"\x05Extension List"
|
|
21666
|
-
"\x05Global Info"
|
|
21667
|
-
"\x05Image Contents"
|
|
21668
|
-
"\x05Image Info"
|
|
21669
|
-
"\x05Operation"
|
|
21670
|
-
"\x05Screen Nail"
|
|
21671
|
-
"\x05SummaryInformation"
|
|
21672
|
-
"\x05Transform"
|
|
21673
|
-
'Audio Stream'
|
|
21674
|
-
'
|
|
21675
|
-
'
|
|
21676
|
-
'
|
|
21677
|
-
'
|
|
21678
|
-
'
|
|
21679
|
-
'
|
|
21680
|
-
'
|
|
21666
|
+
"\x05Extension List" Extensions FlashPix Extensions
|
|
21667
|
+
"\x05Global Info" GlobalInfo FlashPix GlobalInfo
|
|
21668
|
+
"\x05Image Contents" Image FlashPix Image
|
|
21669
|
+
"\x05Image Info" ImageInfo FlashPix ImageInfo
|
|
21670
|
+
"\x05Operation" Operation FlashPix Operation
|
|
21671
|
+
"\x05Screen Nail" ScreenNail no
|
|
21672
|
+
"\x05SummaryInformation" SummaryInfo FlashPix SummaryInfo
|
|
21673
|
+
"\x05Transform" Transform FlashPix Transform
|
|
21674
|
+
'Audio Stream' AudioStream no
|
|
21675
|
+
'BasicFileInfo' BasicFileInfo no
|
|
21676
|
+
'Contents' Contents XMP
|
|
21677
|
+
'Current User' CurrentUser no
|
|
21678
|
+
'ICC Profile 0001' ICC_Profile ICC_Profile
|
|
21679
|
+
'Preview' PreviewImage no
|
|
21680
|
+
'Property' PreviewInfo FlashPix PreviewInfo
|
|
21681
|
+
'Subimage 0000 Header' SubimageHdr FlashPix SubimageHdr
|
|
21682
|
+
'WordDocument' WordDocument FlashPix WordDocument
|
|
21681
21683
|
|
|
21682
21684
|
=head3 FlashPix CompObj Tags
|
|
21683
21685
|
|
|
@@ -23770,6 +23772,7 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
23770
23772
|
DCVerbatimLocality string_
|
|
23771
23773
|
DCVerbatimLongitude string_
|
|
23772
23774
|
DCVerbatimSRS string_
|
|
23775
|
+
DCVerticalDatum string_
|
|
23773
23776
|
DCWaterBody string_
|
|
23774
23777
|
DCEvent DarwinCore Event Struct
|
|
23775
23778
|
EventDay integer_
|
|
@@ -23842,7 +23845,9 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
23842
23845
|
IdentificationRemarks string_
|
|
23843
23846
|
IdentificationVerificationStatus string_
|
|
23844
23847
|
IdentifiedBy string_
|
|
23848
|
+
IdentifiedByID string_
|
|
23845
23849
|
TypeStatus string_
|
|
23850
|
+
VerbatimIdentification string_
|
|
23846
23851
|
LivingSpecimen DarwinCore MaterialSample Struct
|
|
23847
23852
|
LivingSpecimenMaterialSampleID string_
|
|
23848
23853
|
MachineObservation DarwinCore Event Struct
|
|
@@ -23886,8 +23891,10 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
23886
23891
|
OccurrenceAssociatedTaxa string_
|
|
23887
23892
|
OccurrenceBehavior string_
|
|
23888
23893
|
OccurrenceCatalogNumber string_
|
|
23894
|
+
OccurrenceDegreeOfEstablishment string_
|
|
23889
23895
|
OccurrenceDisposition string_
|
|
23890
23896
|
OccurrenceEstablishmentMeans string_
|
|
23897
|
+
OccurrenceGeoreferenceVerificationStatus string_
|
|
23891
23898
|
OccurrenceIndividualCount string_
|
|
23892
23899
|
OccurrenceIndividualID string_
|
|
23893
23900
|
OccurrenceLifeStage string_
|
|
@@ -23901,6 +23908,7 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
23901
23908
|
OccurrencePreparations string_
|
|
23902
23909
|
OccurrencePreviousIdentifications string_
|
|
23903
23910
|
OccurrenceRecordedBy string_
|
|
23911
|
+
OccurrenceRecordedByID string_
|
|
23904
23912
|
OccurrenceRecordNumber string_
|
|
23905
23913
|
OccurrenceReproductiveCondition string_
|
|
23906
23914
|
OccurrenceSex string_
|
|
@@ -23931,6 +23939,7 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
23931
23939
|
RelationshipAccordingTo string_
|
|
23932
23940
|
RelationshipEstablishedDate date_
|
|
23933
23941
|
RelationshipOfResource string_
|
|
23942
|
+
RelationshipOfResourceID string_
|
|
23934
23943
|
RelationshipRemarks string_
|
|
23935
23944
|
ResourceID string_
|
|
23936
23945
|
ResourceRelationshipID string_
|
|
@@ -23938,6 +23947,7 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
23938
23947
|
TaxonAcceptedNameUsage string_
|
|
23939
23948
|
TaxonAcceptedNameUsageID string_
|
|
23940
23949
|
TaxonClass string_
|
|
23950
|
+
TaxonCultivarEpithet string_
|
|
23941
23951
|
TaxonFamily string_
|
|
23942
23952
|
TaxonGenus string_
|
|
23943
23953
|
TaxonHigherClassification string_
|
|
@@ -24016,6 +24026,7 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
24016
24026
|
VerbatimLocality string
|
|
24017
24027
|
VerbatimLongitude string
|
|
24018
24028
|
VerbatimSRS string
|
|
24029
|
+
VerticalDatum string
|
|
24019
24030
|
WaterBody string
|
|
24020
24031
|
|
|
24021
24032
|
=head3 DarwinCore Event Struct
|
|
@@ -24083,7 +24094,9 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
24083
24094
|
IdentificationRemarks string
|
|
24084
24095
|
IdentificationVerificationStatus string
|
|
24085
24096
|
IdentifiedBy string
|
|
24097
|
+
IdentifiedByID string
|
|
24086
24098
|
TypeStatus string
|
|
24099
|
+
VerbatimIdentification string
|
|
24087
24100
|
|
|
24088
24101
|
=head3 DarwinCore MeasurementOrFact Struct
|
|
24089
24102
|
|
|
@@ -24110,8 +24123,10 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
24110
24123
|
AssociatedTaxa string
|
|
24111
24124
|
Behavior string
|
|
24112
24125
|
CatalogNumber string
|
|
24126
|
+
DegreeOfEstablishment string
|
|
24113
24127
|
Disposition string
|
|
24114
24128
|
EstablishmentMeans string
|
|
24129
|
+
GeoreferenceVerificationStatus string
|
|
24115
24130
|
IndividualCount string
|
|
24116
24131
|
IndividualID string
|
|
24117
24132
|
LifeStage string
|
|
@@ -24126,6 +24141,7 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
24126
24141
|
PreviousIdentifications string
|
|
24127
24142
|
RecordNumber string
|
|
24128
24143
|
RecordedBy string
|
|
24144
|
+
RecordedByID string
|
|
24129
24145
|
ReproductiveCondition string
|
|
24130
24146
|
Sex string
|
|
24131
24147
|
|
|
@@ -24165,6 +24181,7 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
24165
24181
|
RelationshipAccordingTo string
|
|
24166
24182
|
RelationshipEstablishedDate date
|
|
24167
24183
|
RelationshipOfResource string
|
|
24184
|
+
RelationshipOfResourceID string
|
|
24168
24185
|
RelationshipRemarks string
|
|
24169
24186
|
ResourceID string
|
|
24170
24187
|
ResourceRelationshipID string
|
|
@@ -24176,6 +24193,7 @@ These tags belong to the ExifTool XMP-dwc family 1 group.
|
|
|
24176
24193
|
AcceptedNameUsage string
|
|
24177
24194
|
AcceptedNameUsageID string
|
|
24178
24195
|
Class string
|
|
24196
|
+
CultivarEpithet string
|
|
24179
24197
|
Family string
|
|
24180
24198
|
Genus string
|
|
24181
24199
|
HigherClassification string
|
|
@@ -138,13 +138,13 @@ sub WritePhotoshop($$$)
|
|
|
138
138
|
unless ($tagInfo) {
|
|
139
139
|
# process subdirectory anyway if writable (except EXIF to avoid recursion)
|
|
140
140
|
# --> this allows IPTC to be processed if found here in TIFF images
|
|
141
|
-
# (
|
|
142
|
-
#
|
|
143
|
-
#
|
|
144
|
-
# if it happens again)
|
|
141
|
+
# (but allow EXIF to be written in PSD files if XMP or IPTC tags are
|
|
142
|
+
# being written because I have seen cases of XMP in PSD-EXIFInfo-IFD0
|
|
143
|
+
# and IPTC in PSD-EXIFInfo-IFD0-IPTC, see forum10768 and forum13198)
|
|
145
144
|
my $tmpInfo = $et->GetTagInfo($tagTablePtr, $tagID);
|
|
146
145
|
if ($tmpInfo and $$tmpInfo{SubDirectory} and
|
|
147
|
-
$tmpInfo->{SubDirectory}->{TagTable} ne 'Image::ExifTool::Exif::Main'
|
|
146
|
+
($tmpInfo->{SubDirectory}->{TagTable} ne 'Image::ExifTool::Exif::Main' or
|
|
147
|
+
($$et{FILE_TYPE} eq 'PSD' and ($$editDirs{0x0404} or $$editDirs{0x0424}))))
|
|
148
148
|
{
|
|
149
149
|
my $table = Image::ExifTool::GetTagTable($tmpInfo->{SubDirectory}->{TagTable});
|
|
150
150
|
$tagInfo = $tmpInfo if $$table{WRITE_PROC};
|
|
@@ -1270,6 +1270,7 @@ sub SetNewValuesFromFile($$;@)
|
|
|
1270
1270
|
GlobalTimeShift => $$options{GlobalTimeShift},
|
|
1271
1271
|
HexTagIDs => $$options{HexTagIDs},
|
|
1272
1272
|
IgnoreMinorErrors=>$$options{IgnoreMinorErrors},
|
|
1273
|
+
IgnoreTags => $$options{IgnoreTags},
|
|
1273
1274
|
Lang => $$options{Lang},
|
|
1274
1275
|
LargeFileSupport=> $$options{LargeFileSupport},
|
|
1275
1276
|
List => 1,
|
|
@@ -29,7 +29,7 @@ use vars qw($VERSION $RELEASE @ISA @EXPORT_OK %EXPORT_TAGS $AUTOLOAD @fileTypes
|
|
|
29
29
|
%jpegMarker %specialTags %fileTypeLookup $testLen $exeDir
|
|
30
30
|
%static_vars);
|
|
31
31
|
|
|
32
|
-
$VERSION = '12.
|
|
32
|
+
$VERSION = '12.43';
|
|
33
33
|
$RELEASE = '';
|
|
34
34
|
@ISA = qw(Exporter);
|
|
35
35
|
%EXPORT_TAGS = (
|
|
@@ -2209,6 +2209,20 @@ sub Options($$;@)
|
|
|
2209
2209
|
} else {
|
|
2210
2210
|
$$options{$param} = undef; # clear the list
|
|
2211
2211
|
}
|
|
2212
|
+
} elsif ($param eq 'IgnoreTags') {
|
|
2213
|
+
if (defined $newVal) {
|
|
2214
|
+
# parse list from delimited string if necessary
|
|
2215
|
+
my @ignoreList = (ref $newVal eq 'ARRAY') ? @$newVal : ($newVal =~ /[-\w?*:]+/g);
|
|
2216
|
+
ExpandShortcuts(\@ignoreList);
|
|
2217
|
+
# add to existing tags to ignore
|
|
2218
|
+
$$options{$param} or $$options{$param} = { };
|
|
2219
|
+
foreach (@ignoreList) {
|
|
2220
|
+
/^(.*:)?([-\w?*]+)#?$/ or next;
|
|
2221
|
+
$$options{$param}{lc $2} = 1;
|
|
2222
|
+
}
|
|
2223
|
+
} else {
|
|
2224
|
+
$$options{$param} = undef; # clear the option
|
|
2225
|
+
}
|
|
2212
2226
|
} elsif ($param eq 'ListJoin') {
|
|
2213
2227
|
$$options{$param} = $newVal;
|
|
2214
2228
|
# set the old List and ListSep options for backward compatibility
|
|
@@ -2321,6 +2335,7 @@ sub ClearOptions($)
|
|
|
2321
2335
|
HtmlDump => 0, # HTML dump (0-3, higher # = bigger limit)
|
|
2322
2336
|
HtmlDumpBase => undef, # base address for HTML dump
|
|
2323
2337
|
IgnoreMinorErrors => undef, # ignore minor errors when reading/writing
|
|
2338
|
+
IgnoreTags => undef, # list of tags to ignore when extracting
|
|
2324
2339
|
Lang => $defaultLang,# localized language for descriptions etc
|
|
2325
2340
|
LargeFileSupport => undef, # flag indicating support of 64-bit file offsets
|
|
2326
2341
|
List => undef, # extract lists of PrintConv values into arrays [no longer documented]
|
|
@@ -5863,7 +5878,7 @@ sub GetUnixTime($;$)
|
|
|
5863
5878
|
{
|
|
5864
5879
|
my ($timeStr, $isLocal) = @_;
|
|
5865
5880
|
return 0 if $timeStr eq '0000:00:00 00:00:00';
|
|
5866
|
-
my @tm = ($timeStr =~ /^(\d+)
|
|
5881
|
+
my @tm = ($timeStr =~ /^(\d+)[-:](\d+)[-:](\d+)\s+(\d+):(\d+):(\d+)(.*)/);
|
|
5867
5882
|
return undef unless @tm == 7;
|
|
5868
5883
|
unless (eval { require Time::Local }) {
|
|
5869
5884
|
warn "Time::Local is not installed\n";
|
|
@@ -7955,11 +7970,11 @@ sub GetTagInfo($$$;$$$)
|
|
|
7955
7970
|
next;
|
|
7956
7971
|
}
|
|
7957
7972
|
}
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7973
|
+
# don't return Unknown tags unless that option is set (also see forum13716)
|
|
7974
|
+
if ($$tagInfo{Unknown} and not $$self{OPTIONS}{Unknown} and not
|
|
7975
|
+
($$self{OPTIONS}{Verbose} or $$self{HTML_DUMP} or
|
|
7976
|
+
($$self{OPTIONS}{Validate} and not $$tagInfo{AddedUnknown})))
|
|
7961
7977
|
{
|
|
7962
|
-
# don't return Unknown tags unless that option is set
|
|
7963
7978
|
return undef;
|
|
7964
7979
|
}
|
|
7965
7980
|
# return the tag information we found
|
|
@@ -7984,6 +7999,7 @@ sub GetTagInfo($$$;$$$)
|
|
|
7984
7999
|
Unknown => 1,
|
|
7985
8000
|
Writable => 0, # can't write unknown tags
|
|
7986
8001
|
PrintConv => $printConv,
|
|
8002
|
+
AddedUnknown => 1,
|
|
7987
8003
|
};
|
|
7988
8004
|
# add tag information to table
|
|
7989
8005
|
AddTagToTable($tagTablePtr, $tagID, $tagInfo);
|
|
@@ -8233,6 +8249,14 @@ sub FoundTag($$$;@)
|
|
|
8233
8249
|
$self->Warn("RawConv $tag: " . CleanWarning()) if $evalWarning;
|
|
8234
8250
|
return undef unless defined $value;
|
|
8235
8251
|
}
|
|
8252
|
+
# ignore specified tags (AFTER doing RawConv if necessary!)
|
|
8253
|
+
if ($$options{IgnoreTags}) {
|
|
8254
|
+
if ($$options{IgnoreTags}{all}) {
|
|
8255
|
+
return undef unless $$self{REQ_TAG_LOOKUP}{lc $tag};
|
|
8256
|
+
} else {
|
|
8257
|
+
return undef if $$options{IgnoreTags}{lc $tag};
|
|
8258
|
+
}
|
|
8259
|
+
}
|
|
8236
8260
|
# handle duplicate tag names
|
|
8237
8261
|
if (defined $$valueHash{$tag}) {
|
|
8238
8262
|
# add to list if there is an active list for this tag
|
|
@@ -8444,7 +8468,7 @@ sub SetFileType($;$$$)
|
|
|
8444
8468
|
|
|
8445
8469
|
#------------------------------------------------------------------------------
|
|
8446
8470
|
# Override the FileType and MIMEType tags
|
|
8447
|
-
# Inputs: 0) ExifTool object ref, 1) file type, 2) MIME type, 3) normal extension
|
|
8471
|
+
# Inputs: 0) ExifTool object ref, 1) file type, 2) MIME type, 3) normal extension (lower case)
|
|
8448
8472
|
# Notes: does nothing if FileType was not previously defined (ie. when writing)
|
|
8449
8473
|
sub OverrideFileType($$;$$)
|
|
8450
8474
|
{
|
|
@@ -776,6 +776,15 @@ images even if they don't have a recognizable header). Minor errors and
|
|
|
776
776
|
warnings are denoted by "[minor]" at the start of the message, or "[Minor]"
|
|
777
777
|
(with a capital "M") for warnings that affect processing when ignored.
|
|
778
778
|
|
|
779
|
+
=item IgnoreTags
|
|
780
|
+
|
|
781
|
+
List of tag names to ignore when reading. This may help in situations where
|
|
782
|
+
memory is limited because the ignored tag values are not stored in memory.
|
|
783
|
+
The tag names are case insensitive and group names and wildcards are not
|
|
784
|
+
allowed. A special tag name of "All" may be used to ignore all tags except
|
|
785
|
+
those specified by the L</RequestTags> option. Set to undef to clear the
|
|
786
|
+
previous IgnoreTags list. Default is undef.
|
|
787
|
+
|
|
779
788
|
=item Lang
|
|
780
789
|
|
|
781
790
|
Localized language for exiftool tag descriptions, etc. Available languages
|
|
@@ -1103,10 +1112,10 @@ L</ExtractInfo>:
|
|
|
1103
1112
|
Binary, Charset, CharsetEXIF, CharsetFileName, CharsetID3, CharsetIPTC,
|
|
1104
1113
|
CharsetPhotoshop, CharsetQuickTime, CharsetRIFF, Composite, ExtendedXMP,
|
|
1105
1114
|
ExtractEmbedded, FastScan, FixBase, HtmlDump, HtmlDumpBase,
|
|
1106
|
-
IgnoreMinorErrors, Lang, LargeFileSupport, MakerNotes,
|
|
1107
|
-
NoPDFList, Password, QuickTimeUTC (enforced 1904 time zero),
|
|
1108
|
-
RequestTags, SaveFormat, SavePath, ScanForXMP, Struct, TextOut,
|
|
1109
|
-
Verbose, XAttrTags and XMPAutoConv.
|
|
1115
|
+
IgnoreMinorErrors, IgnoreTags, Lang, LargeFileSupport, MakerNotes,
|
|
1116
|
+
MDItemTags, NoPDFList, Password, QuickTimeUTC (enforced 1904 time zero),
|
|
1117
|
+
RequestAll, RequestTags, SaveFormat, SavePath, ScanForXMP, Struct, TextOut,
|
|
1118
|
+
Unknown, Verbose, XAttrTags and XMPAutoConv.
|
|
1110
1119
|
|
|
1111
1120
|
=item Return Value:
|
|
1112
1121
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exiftool-vendored.exe",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.43.0",
|
|
4
4
|
"description": "Vendored win32 ExifTool for Node.js",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"homepage": "https://github.com/mceachen/exiftool-vendored.exe#readme",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"mocha": "^
|
|
45
|
-
"prettier": "^2.
|
|
44
|
+
"mocha": "^10.0.0",
|
|
45
|
+
"prettier": "^2.7.1"
|
|
46
46
|
}
|
|
47
47
|
}
|