1
1
diff --git a/lib/Image/ExifTool.pm b/lib/Image/ExifTool.pm
2
- index a96cbf36..2d81ce98 100644
2
+ index e22e73c5..855c20db 100644
3
3
--- a/lib/Image/ExifTool.pm
4
4
+++ b/lib/Image/ExifTool.pm
5
- @@ -185,17 +185 ,10 @@ $defaultLang = 'en'; # default language
5
+ @@ -190,18 +190 ,10 @@ $defaultLang = 'en'; # default language
6
6
# 2) Put types with weak file signatures at end of list to avoid false matches
7
7
# 3) PLIST must be in this list for the binary PLIST format, although it may
8
8
# cause a file to be checked twice for XML
9
9
- @fileTypes = qw(JPEG EXV CRW DR4 TIFF GIF MRW RAF X3F JP2 PNG MIE MIFF PS PDF
10
- - PSD XMP BMP BPG PPM RIFF AIFF ASF MOV MPEG Real SWF PSP FLV OGG
11
- - FLAC APE MPC MKV MXF DV PMP IND PGF ICC ITC FLIR FLIF FPF LFP
12
- - HTML VRD RTF FITS XCF DSS QTIF FPX PICT ZIP GZIP PLIST RAR BZ2
13
- - CZI TAR EXE EXR HDR CHM LNK WMF AVC DEX DPX RAW Font RSRC M2TS
14
- - MacOS PHP PCX DCX DWF DWG DXF WTV Torrent VCard LRI R3D AA PDB
15
- - PFM2 MRC LIF JXL MOI ISO ALIAS JSON MP3 DICOM PCD TXT);
10
+ - PSD XMP BMP WPG BPG PPM RIFF AIFF ASF MOV MPEG Real SWF PSP FLV
11
+ - OGG FLAC APE MPC MKV MXF DV PMP IND PGF ICC ITC FLIR FLIF FPF
12
+ - LFP HTML VRD RTF FITS XCF DSS QTIF FPX PICT ZIP GZIP PLIST RAR
13
+ - 7Z BZ2 CZI TAR EXE EXR HDR CHM LNK WMF AVC DEX DPX RAW Font RSRC
14
+ - M2TS MacOS PHP PCX DCX DWF DWG DXF WTV Torrent VCard LRI R3D AA
15
+ - PDB PFM2 MRC LIF JXL MOI ISO ALIAS JSON MP3 DICOM PCD ICO TXT);
16
16
+ @fileTypes = qw(JPEG TIFF);
17
17
18
18
# file types that we can write (edit)
19
19
- my @writeTypes = qw(JPEG TIFF GIF CRW MRW ORF RAF RAW PNG MIE PSD XMP PPM EPS
20
- - X3F PS PDF ICC VRD DR4 JP2 JXL EXIF AI AIT IND MOV EXV FLIF);
20
+ - X3F PS PDF ICC VRD DR4 JP2 JXL EXIF AI AIT IND MOV EXV FLIF
21
+ - RIFF);
21
22
+ my @writeTypes = qw(JPEG TIFF);
22
23
my %writeTypes; # lookup for writable file types (hash filled if required)
23
24
24
25
# file extensions that we can't write for various base types
25
- @@ -214,339 +207 ,9 @@ my %createTypes = map { $_ => 1 } qw(XMP ICC MIE VRD DR4 EXIF EXV);
26
+ @@ -222,344 +214 ,9 @@ my %createTypes = map { $_ => 1 } qw(XMP ICC MIE VRD DR4 EXIF EXV);
26
27
# (if extension may be more than one type, the type is a list where
27
28
# the writable type should come first if it exists)
28
29
%fileTypeLookup = (
@@ -32,6 +33,7 @@ index a96cbf36..2d81ce98 100644
32
33
- '3GP' => ['MOV', '3rd Gen. Partnership Project audio/video'],
33
34
- '3GP2'=> '3G2',
34
35
- '3GPP'=> '3GP',
36
+ - '7Z' => ['7Z', '7z archive'],
35
37
- A => ['EXE', 'Static library'],
36
38
- AA => ['AA', 'Audible Audiobook'],
37
39
- AAE => ['PLIST','Apple edit information'],
@@ -69,6 +71,7 @@ index a96cbf36..2d81ce98 100644
69
71
- CRW => ['CRW', 'Canon RAW format'],
70
72
- CS1 => ['PSD', 'Sinar CaptureShop 1-Shot RAW'],
71
73
- CSV => ['TXT', 'Comma-Separated Values'],
74
+ - CUR => ['ICO', 'Windows Cursor'],
72
75
- CZI => ['CZI', 'Zeiss Integrated Software RAW'],
73
76
- DC3 => 'DICM',
74
77
- DCM => 'DICM',
@@ -132,6 +135,7 @@ index a96cbf36..2d81ce98 100644
132
135
- FPF => ['FPF', 'FLIR Public image Format'],
133
136
- FPX => ['FPX', 'FlashPix'],
134
137
- GIF => ['GIF', 'Compuserve Graphics Interchange Format'],
138
+ - GLV => ['MOV', 'Garmin Low-resolution Video'],
135
139
- GPR => ['TIFF', 'General Purpose RAW'], # https://gopro.github.io/gpr/
136
140
- GZ => 'GZIP',
137
141
- GZIP => ['GZIP', 'GNU ZIP compressed archive'],
@@ -145,6 +149,7 @@ index a96cbf36..2d81ce98 100644
145
149
- ICAL => 'ICS',
146
150
- ICC => ['ICC', 'International Color Consortium'],
147
151
- ICM => 'ICC',
152
+ - ICO => ['ICO', 'Windows Icon'],
148
153
- ICS => ['VCard','iCalendar Schedule'],
149
154
- IDML => ['ZIP', 'Adobe InDesign Markup Language'],
150
155
- IIQ => ['TIFF', 'Phase One Intelligent Image Quality RAW'],
@@ -190,6 +195,7 @@ index a96cbf36..2d81ce98 100644
190
195
- M4B => ['MOV', 'MPEG-4 audio Book'],
191
196
- M4P => ['MOV', 'MPEG-4 Protected'],
192
197
- M4V => ['MOV', 'MPEG-4 Video'],
198
+ - MACOS=> ['MacOS','MacOS ._ sidecar file'],
193
199
- MAX => ['FPX', '3D Studio MAX'],
194
200
- MEF => ['TIFF', 'Mamiya (RAW) Electronic Format'],
195
201
- MIE => ['MIE', 'Meta Information Encapsulation format'],
@@ -219,7 +225,6 @@ index a96cbf36..2d81ce98 100644
219
225
- NEF => ['TIFF', 'Nikon (RAW) Electronic Format'],
220
226
- NEWER => 'COS',
221
227
- NKSC => ['XMP', 'Nikon Sidecar'],
222
- -
223
228
- NMBTEMPLATE => ['ZIP','Apple Numbers Template'],
224
229
- NRW => ['TIFF', 'Nikon RAW (2)'],
225
230
- NUMBERS => ['ZIP','Apple Numbers spreadsheet'],
@@ -331,6 +336,7 @@ index a96cbf36..2d81ce98 100644
331
336
- VCARD=> ['VCard','Virtual Card'],
332
337
- VCF => 'VCARD',
333
338
- VOB => ['MPEG', 'Video Object'],
339
+ - VNT => [['FPX','VCard'], 'Scene7 Vignette or V-Note text file'],
334
340
- VRD => ['VRD', 'Canon VRD Recipe Data'],
335
341
- VSD => ['FPX', 'Microsoft Visio Drawing'],
336
342
- WAV => ['RIFF', 'WAVeform (Windows digital audio)'],
@@ -342,7 +348,6 @@ index a96cbf36..2d81ce98 100644
342
348
- WMV => ['ASF', 'Windows Media Video'],
343
349
- WV => ['RIFF', 'WavePack lossless audio'],
344
350
- X3F => ['X3F', 'Sigma RAW format'],
345
- - MACOS=> ['MacOS','MacOS ._ sidecar file'],
346
351
- XCF => ['XCF', 'GIMP native image format'],
347
352
- XHTML=> ['HTML', 'Extensible HyperText Markup Language'],
348
353
- XLA => ['FPX', 'Microsoft Excel Add-in'],
@@ -357,14 +362,15 @@ index a96cbf36..2d81ce98 100644
357
362
- XMP => ['XMP', 'Extensible Metadata Platform'],
358
363
- WOFF => ['Font', 'Web Open Font Format'],
359
364
- WOFF2=> ['Font', 'Web Open Font Format2'],
365
+ - WPG => ['WPG', 'WordPerfect Graphics'],
360
366
- WTV => ['WTV', 'Windows recorded TV show'],
361
367
- ZIP => ['ZIP', 'ZIP archive'],
362
368
);
363
369
364
370
# typical extension for each file type (if different than FileType)
365
371
diff --git a/lib/Image/ExifTool/AIFF.pm b/lib/Image/ExifTool/AIFF.pm
366
372
deleted file mode 100644
367
- index 3fe6c4a6 ..00000000
373
+ index a862a0de ..00000000
368
374
--- a/lib/Image/ExifTool/AIFF.pm
369
375
+++ /dev/null
370
376
@@ -1,312 +0,0 @@
@@ -388,7 +394,7 @@ index 3fe6c4a6..00000000
388
394
- use Image::ExifTool qw(:DataAccess :Utils);
389
395
- use Image::ExifTool::ID3;
390
396
-
391
- - $VERSION = '1.11 ';
397
+ - $VERSION = '1.12 ';
392
398
-
393
399
- # information for time/date-based tags (time zero is Jan 1, 1904)
394
400
- my %timeInfo = (
@@ -573,7 +579,7 @@ index 3fe6c4a6..00000000
573
579
- return 1 if $fast3;
574
580
- $tagTablePtr = GetTagTable('Image::ExifTool::DjVu::Main');
575
581
- # modify FileType to indicate a multi-page document
576
- - $$et{VALUE}{FileType} .= " (multi-page)" if $buf2 eq 'DJVM';
582
+ - $$et{VALUE}{FileType} .= " (multi-page)" if $buf2 eq 'DJVM' and $$et{VALUE}{FileType} ;
577
583
- $type = 'DjVu';
578
584
- } else {
579
585
- return 0 unless $buff =~ /^FORM....(AIF(F|C))/s;
@@ -657,7 +663,7 @@ index 3fe6c4a6..00000000
657
663
-
658
664
- =head1 AUTHOR
659
665
-
660
- - Copyright 2003-2022 , Phil Harvey (philharvey66 at gmail.com)
666
+ - Copyright 2003-2023 , Phil Harvey (philharvey66 at gmail.com)
661
667
-
662
668
- This library is free software; you can redistribute it and/or modify it
663
669
- under the same terms as Perl itself.
0 commit comments