exiftool_vendored 12.50.0 → 12.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/Changes +39 -2
- data/bin/MANIFEST +2 -0
- data/bin/META.json +1 -1
- data/bin/META.yml +1 -1
- data/bin/README +2 -2
- data/bin/exiftool +5 -4
- data/bin/lib/Image/ExifTool/Casio.pm +3 -3
- data/bin/lib/Image/ExifTool/FLIR.pm +6 -5
- data/bin/lib/Image/ExifTool/GPS.pm +11 -5
- data/bin/lib/Image/ExifTool/Geotag.pm +12 -4
- data/bin/lib/Image/ExifTool/JPEG.pm +1 -0
- data/bin/lib/Image/ExifTool/Jpeg2000.pm +24 -3
- data/bin/lib/Image/ExifTool/Lang/de.pm +1 -1
- data/bin/lib/Image/ExifTool/Lang/fr.pm +6015 -759
- data/bin/lib/Image/ExifTool/Lang/sk.pm +1927 -0
- data/bin/lib/Image/ExifTool/Matroska.pm +261 -45
- data/bin/lib/Image/ExifTool/Nikon.pm +470 -272
- data/bin/lib/Image/ExifTool/NikonCustom.pm +139 -106
- data/bin/lib/Image/ExifTool/Olympus.pm +3 -2
- data/bin/lib/Image/ExifTool/PNG.pm +8 -1
- data/bin/lib/Image/ExifTool/QuickTime.pm +4 -1
- data/bin/lib/Image/ExifTool/QuickTimeStream.pl +44 -11
- data/bin/lib/Image/ExifTool/README +2 -1
- data/bin/lib/Image/ExifTool/Sony.pm +4 -4
- data/bin/lib/Image/ExifTool/TagInfoXML.pm +11 -6
- data/bin/lib/Image/ExifTool/TagLookup.pm +4543 -4491
- data/bin/lib/Image/ExifTool/TagNames.pod +227 -37
- data/bin/lib/Image/ExifTool/WriteQuickTime.pl +12 -7
- data/bin/lib/Image/ExifTool/WriteXMP.pl +15 -1
- data/bin/lib/Image/ExifTool/Writer.pl +33 -13
- data/bin/lib/Image/ExifTool/ZIP.pm +19 -7
- data/bin/lib/Image/ExifTool.pm +36 -15
- data/bin/perl-Image-ExifTool.spec +1 -1
- data/lib/exiftool_vendored/version.rb +1 -1
- metadata +3 -2
data/bin/lib/Image/ExifTool.pm
CHANGED
@@ -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.52';
|
33
33
|
$RELEASE = '';
|
34
34
|
@ISA = qw(Exporter);
|
35
35
|
%EXPORT_TAGS = (
|
@@ -145,16 +145,16 @@ sub ReadValue($$$;$$$);
|
|
145
145
|
Samsung::Trailer Sony::SRF2 Sony::SR2SubIFD Sony::PMP ITC ID3 ID3::Lyrics3
|
146
146
|
FLAC Ogg Vorbis APE APE::NewHeader APE::OldHeader Audible MPC MPEG::Audio
|
147
147
|
MPEG::Video MPEG::Xing M2TS QuickTime QuickTime::ImageFile QuickTime::Stream
|
148
|
-
QuickTime::Tags360Fly Matroska MOI MXF DV Flash Flash::FLV
|
149
|
-
Real::Audio Real::Metafile Red RIFF AIFF ASF WTV DICOM FITS MIE
|
150
|
-
XMP::SVG Palm Palm::MOBI Palm::EXTH Torrent EXE EXE::PEVersion
|
151
|
-
EXE::MachO EXE::PEF EXE::ELF EXE::AR EXE::CHM LNK Font VCard
|
152
|
-
VCard::VCalendar RSRC Rawzor ZIP ZIP::GZIP ZIP::RAR RTF OOXML iWork ISO
|
148
|
+
QuickTime::Tags360Fly Matroska Matroska::Tags MOI MXF DV Flash Flash::FLV
|
149
|
+
Real::Media Real::Audio Real::Metafile Red RIFF AIFF ASF WTV DICOM FITS MIE
|
150
|
+
JSON HTML XMP::SVG Palm Palm::MOBI Palm::EXTH Torrent EXE EXE::PEVersion
|
151
|
+
EXE::PEString EXE::MachO EXE::PEF EXE::ELF EXE::AR EXE::CHM LNK Font VCard
|
152
|
+
Text VCard::VCalendar RSRC Rawzor ZIP ZIP::GZIP ZIP::RAR RTF OOXML iWork ISO
|
153
153
|
FLIR::AFF FLIR::FPF MacOS MacOS::MDItem FlashPix::DocTable
|
154
154
|
);
|
155
155
|
|
156
156
|
# alphabetical list of current Lang modules
|
157
|
-
@langs = qw(cs de en en_ca en_gb es fi fr it ja ko nl pl ru sv tr zh_cn zh_tw);
|
157
|
+
@langs = qw(cs de en en_ca en_gb es fi fr it ja ko nl pl ru sk sv tr zh_cn zh_tw);
|
158
158
|
|
159
159
|
$defaultLang = 'en'; # default language
|
160
160
|
|
@@ -174,6 +174,7 @@ $defaultLang = 'en'; # default language
|
|
174
174
|
nl => 'Dutch (Nederlands)',
|
175
175
|
pl => 'Polish (Polski)',
|
176
176
|
ru => 'Russian (Русский)',
|
177
|
+
sk => 'Slovak (Slovenčina)',
|
177
178
|
sv => 'Swedish (Svenska)',
|
178
179
|
'tr'=> 'Turkish (Türkçe)',
|
179
180
|
zh_cn => 'Simplified Chinese (简体中文)',
|
@@ -1807,6 +1808,16 @@ my %systemTagsNotes = (
|
|
1807
1808
|
Protected => 1,
|
1808
1809
|
},
|
1809
1810
|
PageCount => { Notes => 'the number of pages in a multi-page TIFF document' },
|
1811
|
+
SphericalVideoXML => {
|
1812
|
+
Groups => { 0 => 'QuickTime', 1 => 'GSpherical', 2 => 'Video' },
|
1813
|
+
# (group 1 is 'GSpherical' to trigger creation of this tag when writing,
|
1814
|
+
# but when reading the family 1 group is the track number)
|
1815
|
+
Flags => [ 'Writable', 'Binary', 'Protected' ],
|
1816
|
+
Notes => q{
|
1817
|
+
the SphericalVideoXML block from MP4/MOV videos. This tag is generated only
|
1818
|
+
if specifically requested
|
1819
|
+
},
|
1820
|
+
},
|
1810
1821
|
);
|
1811
1822
|
|
1812
1823
|
# tags defined by UserParam option (added at runtime)
|
@@ -2029,6 +2040,7 @@ sub new
|
|
2029
2040
|
$$self{DEL_GROUP} = { }; # lookup for groups to delete when writing
|
2030
2041
|
$$self{SAVE_COUNT} = 0; # count calls to SaveNewValues()
|
2031
2042
|
$$self{FILE_SEQUENCE} = 0; # sequence number for files when reading
|
2043
|
+
$$self{INDENT2} = ''; # indentation of verbose messages from SetNewValue
|
2032
2044
|
|
2033
2045
|
# initialize our new groups for writing
|
2034
2046
|
$self->SetNewGroups(@defaultWriteGroups);
|
@@ -3909,7 +3921,7 @@ sub CanCreate($)
|
|
3909
3921
|
#==============================================================================
|
3910
3922
|
# Functions below this are not part of the public API
|
3911
3923
|
|
3912
|
-
# Initialize member variables
|
3924
|
+
# Initialize member variables before reading or writing a new file
|
3913
3925
|
# Inputs: 0) ExifTool object reference
|
3914
3926
|
sub Init($)
|
3915
3927
|
{
|
@@ -4174,10 +4186,15 @@ sub Open($*$;$)
|
|
4174
4186
|
# handle Windows Unicode file name
|
4175
4187
|
local $SIG{'__WARN__'} = \&SetWarning;
|
4176
4188
|
my ($access, $create);
|
4177
|
-
if ($mode eq '>') {
|
4189
|
+
if ($mode eq '>' or $mode eq '>>') {
|
4178
4190
|
eval {
|
4179
4191
|
$access = Win32API::File::GENERIC_WRITE();
|
4180
|
-
$
|
4192
|
+
if ($mode eq '>>') {
|
4193
|
+
$access |= Win32API::File::FILE_APPEND_DATA();
|
4194
|
+
$create = Win32API::File::OPEN_ALWAYS();
|
4195
|
+
} else {
|
4196
|
+
$create = Win32API::File::CREATE_ALWAYS();
|
4197
|
+
}
|
4181
4198
|
}
|
4182
4199
|
} else {
|
4183
4200
|
eval {
|
@@ -4433,11 +4450,15 @@ sub ParseArguments($;@)
|
|
4433
4450
|
sub IsSameID($$)
|
4434
4451
|
{
|
4435
4452
|
my ($id, $grp) = @_;
|
4436
|
-
|
4437
|
-
|
4438
|
-
|
4439
|
-
|
4440
|
-
|
4453
|
+
for (;;) {
|
4454
|
+
return 1 if $grp eq $id; # decimal ID's or raw ID's
|
4455
|
+
if ($id =~ /^\d+$/) { # numerical numerical ID's may be in hex
|
4456
|
+
return 1 if $grp =~ s/^0x0*// and $grp eq sprintf('%x', $id);
|
4457
|
+
} else { # other ID's may conform to ExifTool group name conventions
|
4458
|
+
my $tmp = $id;
|
4459
|
+
return 1 if $tmp =~ s/([^-_A-Za-z0-9])/sprintf('%.2x',ord $1)/ge and $grp eq $tmp;
|
4460
|
+
}
|
4461
|
+
last unless $id =~ s/-.*//; # remove language code if it exists
|
4441
4462
|
}
|
4442
4463
|
return 0;
|
4443
4464
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exiftool_vendored
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.
|
4
|
+
version: 12.52.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew McEachen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-12-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: exiftool
|
@@ -372,6 +372,7 @@ files:
|
|
372
372
|
- bin/lib/Image/ExifTool/Lang/nl.pm
|
373
373
|
- bin/lib/Image/ExifTool/Lang/pl.pm
|
374
374
|
- bin/lib/Image/ExifTool/Lang/ru.pm
|
375
|
+
- bin/lib/Image/ExifTool/Lang/sk.pm
|
375
376
|
- bin/lib/Image/ExifTool/Lang/sv.pm
|
376
377
|
- bin/lib/Image/ExifTool/Lang/tr.pm
|
377
378
|
- bin/lib/Image/ExifTool/Lang/zh_cn.pm
|