exiftool_vendored 12.86.0 → 12.89.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +59 -1
  3. data/bin/MANIFEST +1 -0
  4. data/bin/META.json +2 -2
  5. data/bin/META.yml +17 -17
  6. data/bin/README +3 -2
  7. data/bin/build_geolocation +6 -3
  8. data/bin/config_files/onone.config +28 -0
  9. data/bin/exiftool +20 -12
  10. data/bin/lib/Image/ExifTool/AIFF.pm +8 -4
  11. data/bin/lib/Image/ExifTool/ASF.pm +4 -1
  12. data/bin/lib/Image/ExifTool/BuildTagLookup.pm +12 -7
  13. data/bin/lib/Image/ExifTool/Canon.pm +63 -4
  14. data/bin/lib/Image/ExifTool/CanonRaw.pm +1 -1
  15. data/bin/lib/Image/ExifTool/CanonVRD.pm +1 -1
  16. data/bin/lib/Image/ExifTool/FujiFilm.pm +46 -4
  17. data/bin/lib/Image/ExifTool/Geolocation.dat +0 -0
  18. data/bin/lib/Image/ExifTool/Geolocation.pm +6 -0
  19. data/bin/lib/Image/ExifTool/InDesign.pm +8 -4
  20. data/bin/lib/Image/ExifTool/Jpeg2000.pm +0 -1
  21. data/bin/lib/Image/ExifTool/Lang/de.pm +2 -2
  22. data/bin/lib/Image/ExifTool/Matroska.pm +66 -10
  23. data/bin/lib/Image/ExifTool/MinoltaRaw.pm +2 -2
  24. data/bin/lib/Image/ExifTool/Nikon.pm +3 -2
  25. data/bin/lib/Image/ExifTool/Panasonic.pm +1 -0
  26. data/bin/lib/Image/ExifTool/PanasonicRaw.pm +1 -0
  27. data/bin/lib/Image/ExifTool/Pentax.pm +80 -14
  28. data/bin/lib/Image/ExifTool/QuickTime.pm +45 -8
  29. data/bin/lib/Image/ExifTool/QuickTimeStream.pl +24 -2
  30. data/bin/lib/Image/ExifTool/RIFF.pm +20 -10
  31. data/bin/lib/Image/ExifTool/Sony.pm +21 -11
  32. data/bin/lib/Image/ExifTool/TagLookup.pm +6800 -6784
  33. data/bin/lib/Image/ExifTool/TagNames.pod +83 -16
  34. data/bin/lib/Image/ExifTool/WriteQuickTime.pl +84 -15
  35. data/bin/lib/Image/ExifTool/Writer.pl +7 -4
  36. data/bin/lib/Image/ExifTool/XMP.pm +8 -8
  37. data/bin/lib/Image/ExifTool/XMP2.pl +51 -30
  38. data/bin/lib/Image/ExifTool/ZIP.pm +8 -4
  39. data/bin/lib/Image/ExifTool.pm +22 -16
  40. data/bin/lib/Image/ExifTool.pod +15 -6
  41. data/bin/perl-Image-ExifTool.spec +1 -1
  42. data/lib/exiftool_vendored/version.rb +1 -1
  43. metadata +3 -2
@@ -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 $advFmtSelf);
31
31
 
32
- $VERSION = '12.86';
32
+ $VERSION = '12.89';
33
33
  $RELEASE = '';
34
34
  @ISA = qw(Exporter);
35
35
  %EXPORT_TAGS = (
@@ -145,17 +145,18 @@ sub ReadValue($$$;$$$);
145
145
  SigmaRaw JPEG GIMP Jpeg2000 GIF BMP BMP::OS2 BMP::Extra BPG BPG::Extensions
146
146
  WPG ICO PICT PNG MNG FLIF DjVu DPX OpenEXR ZISRAW MRC LIF MRC::FEI12 MIFF
147
147
  PCX PGF PSP PhotoCD Radiance Other::PFM PDF PostScript Photoshop::Header
148
- Photoshop::Layers Photoshop::ImageData FujiFilm::RAF FujiFilm::IFD
149
- FujiFilm::MRAW Samsung::Trailer Sony::SRF2 Sony::SR2SubIFD Sony::PMP ITC ID3
150
- ID3::Lyrics3 FLAC AAC Ogg Vorbis APE APE::NewHeader APE::OldHeader Audible
151
- MPC MPEG::Audio MPEG::Video MPEG::Xing M2TS QuickTime QuickTime::ImageFile
152
- QuickTime::Stream QuickTime::Tags360Fly Matroska Matroska::StdTag MOI MXF DV
153
- Flash Flash::FLV Real::Media Real::Audio Real::Metafile Red RIFF AIFF ASF
154
- WTV DICOM FITS XISF MIE JSON HTML XMP::SVG Palm Palm::MOBI Palm::EXTH
155
- Torrent EXE EXE::PEVersion EXE::PEString EXE::MachO EXE::PEF EXE::ELF
156
- EXE::AR EXE::CHM LNK Font VCard Text VCard::VCalendar VCard::VNote RSRC
157
- Rawzor ZIP ZIP::GZIP ZIP::RAR ZIP::RAR5 RTF OOXML iWork ISO FLIR::AFF
158
- FLIR::FPF MacOS MacOS::MDItem FlashPix::DocTable
148
+ Photoshop::Layers Photoshop::ImageData FujiFilm::RAFHeader FujiFilm::RAF
149
+ FujiFilm::IFD FujiFilm::MRAW Samsung::Trailer Sony::SRF2 Sony::SR2SubIFD
150
+ Sony::PMP ITC ID3 ID3::Lyrics3 FLAC AAC Ogg Vorbis APE APE::NewHeader
151
+ APE::OldHeader Audible MPC MPEG::Audio MPEG::Video MPEG::Xing M2TS QuickTime
152
+ QuickTime::ImageFile QuickTime::Stream QuickTime::Tags360Fly Matroska
153
+ Matroska::StdTag MOI MXF DV Flash Flash::FLV Real::Media Real::Audio
154
+ Real::Metafile Red RIFF AIFF ASF WTV DICOM FITS XISF MIE JSON HTML XMP::SVG
155
+ Palm Palm::MOBI Palm::EXTH Torrent EXE EXE::PEVersion EXE::PEString
156
+ EXE::MachO EXE::PEF EXE::ELF EXE::AR EXE::CHM LNK Font VCard Text
157
+ VCard::VCalendar VCard::VNote RSRC Rawzor ZIP ZIP::GZIP ZIP::RAR ZIP::RAR5
158
+ RTF OOXML iWork ISO FLIR::AFF FLIR::FPF MacOS MacOS::MDItem
159
+ FlashPix::DocTable
159
160
  );
160
161
 
161
162
  # alphabetical list of current Lang modules
@@ -426,7 +427,7 @@ my %createTypes = map { $_ => 1 } qw(XMP ICC MIE VRD DR4 EXIF EXV);
426
427
  # NDPI => ['TIFF', 'Hamamatsu NanoZoomer Digital Pathology Image'],
427
428
  NEF => ['TIFF', 'Nikon (RAW) Electronic Format'],
428
429
  NEWER => 'COS',
429
- NKA => ['NKA', 'Nikon NX Studio Settings'],
430
+ NKA => ['NKA', 'Nikon NX Studio Adjustments'],
430
431
  NKSC => ['XMP', 'Nikon Sidecar'],
431
432
  NMBTEMPLATE => ['ZIP','Apple Numbers Template'],
432
433
  NRW => ['TIFF', 'Nikon RAW (2)'],
@@ -1127,7 +1128,7 @@ my @availableOptions = (
1127
1128
  [ 'IgnoreTags', undef, 'list of tags to ignore when extracting' ],
1128
1129
  [ 'ImageHashType', 'MD5', 'image hash algorithm' ],
1129
1130
  [ 'Lang', $defaultLang, 'localized language for descriptions etc' ],
1130
- [ 'LargeFileSupport', undef, 'flag indicating support of 64-bit file offsets' ],
1131
+ [ 'LargeFileSupport', 1, 'flag indicating support of 64-bit file offsets' ],
1131
1132
  [ 'LimitLongValues', 60, 'length limit for long values' ],
1132
1133
  [ 'List', undef, '[deprecated, use ListSplit and ListJoin instead]' ],
1133
1134
  [ 'ListItem', undef, 'used to return a specific item from lists' ],
@@ -1815,6 +1816,7 @@ my %systemTagsNotes = (
1815
1816
  PrintConv => 'sprintf("%.3g s", $val)',
1816
1817
  },
1817
1818
  RAFVersion => { Notes => 'RAF file version number' },
1819
+ RAFCompression => { PrintConv => { 0 => 'Uncompressed', 2 => 'Compressed' } }, # 1 maybe lossy?
1818
1820
  JPEGDigest => {
1819
1821
  Notes => q{
1820
1822
  an MD5 digest of the JPEG quantization tables is combined with the component
@@ -2039,6 +2041,8 @@ my %systemTagsNotes = (
2039
2041
  my $lat = 1;
2040
2042
  foreach (@args) {
2041
2043
  next unless /^[-+]?\d/;
2044
+ my @reals = /\.\d+/g;
2045
+ next if @reals > 1; # (allow floating "lat lon" format)
2042
2046
  require Image::ExifTool::GPS;
2043
2047
  $_ = Image::ExifTool::GPS::ToDegrees($_, 1, $lat ? 'lat' : 'lon');
2044
2048
  $lat ^= 1;
@@ -2805,6 +2809,7 @@ sub ExtractInfo($;@)
2805
2809
  # (note that Windows directories will still show the
2806
2810
  # daylight savings time bug -- should fix this sometime)
2807
2811
  @stat = stat $$raf{FILE_PT};
2812
+ $stat[7] = undef if -p $$raf{FILE_PT}; # (pipe buffer size isn't useful)
2808
2813
  }
2809
2814
  my $fileSize = $stat[7];
2810
2815
  $self->FoundTag('FileSize', $stat[7]) if defined $stat[7];
@@ -4153,7 +4158,8 @@ sub GetFileType(;$$)
4153
4158
  #------------------------------------------------------------------------------
4154
4159
  # Return true if we can write the specified file type
4155
4160
  # Inputs: 0) file name or ext
4156
- # Returns: true if writable, 0 if not writable, undef if unrecognized
4161
+ # Returns: true if writable, 0 if not writable, '' if not writable due to extension,
4162
+ # undef if unrecognized
4157
4163
  sub CanWrite($)
4158
4164
  {
4159
4165
  local $_;
@@ -4162,7 +4168,7 @@ sub CanWrite($)
4162
4168
  if ($noWriteFile{$type}) {
4163
4169
  # can't write TIFF files with certain extensions (various RAW formats)
4164
4170
  my $ext = GetFileExtension($file) || uc($file);
4165
- return grep(/^$ext$/, @{$noWriteFile{$type}}) ? 0 : 1 if $ext;
4171
+ return grep(/^$ext$/, @{$noWriteFile{$type}}) ? '' : 1 if $ext;
4166
4172
  }
4167
4173
  if ($onlyWriteFile{$type}) {
4168
4174
  my $ext = GetFileExtension($file) || uc($file);
@@ -583,7 +583,7 @@ Flag to generate Composite tags when extracting information. Default is 1.
583
583
 
584
584
  Flag to write new values in compressed format if possible. Has no effect
585
585
  unless the relevant compression library is available. Valid when writing
586
- metadata to PNG, JXL or MIE images. Setting this to zero causes JXL
586
+ metadata to PNG, JXL, HEIC or MIE images. Setting this to zero causes JXL
587
587
  metadata to be rewritten as uncompressed when edited. Default is undef.
588
588
 
589
589
  =item CoordFormat
@@ -731,9 +731,12 @@ to a string of the form "Lat,Lon" (eg. "44.56,-72.33") or city with optional
731
731
  state/province, country and/or country code (eg. "Paris,France") to act as a
732
732
  default for files not containing GPS or geolocation information, or include
733
733
  tag names with leading dollar signs separated by commas to specify the tags
734
- to use for the geolocation input. May also include regular expressions for
735
- more flexible matching. See L<https://exiftool.org/geolocation.html> for
736
- more details. Default is undef.
734
+ to use for the geolocation input. When "Lat,Lon" is specified, "num=##" may
735
+ be added to return the specified number of nearby cities (the L</Duplicates>
736
+ option must also be used for the duplicate tags to be returned). May
737
+ include regular expressions for more flexible matching of city names. See
738
+ L<https://exiftool.org/geolocation.html> for more details. Default is
739
+ undef.
737
740
 
738
741
  =item GeolocAltNames
739
742
 
@@ -873,8 +876,10 @@ set to undef to select the built-in default language. Default is 'en'.
873
876
 
874
877
  =item LargeFileSupport
875
878
 
876
- Flag to indicate that 64-bit file offsets are supported on this system.
877
- Default is undef.
879
+ Flag to indicate that 64-bit file offsets are supported on this system. If
880
+ not set, processing is aborted if a chunk larger than 2 GB is encountered.
881
+ Set to 1 to process large chunks, or 2 to process with a warning. Default
882
+ is 2.
878
883
 
879
884
  =item LimitLongValues
880
885
 
@@ -1100,6 +1105,10 @@ Format for serialized structures when reading/writing.
1100
1105
  JSON - JSON format
1101
1106
  JSONQ - JSON with quoted numerical values
1102
1107
 
1108
+ Note that the JSONQ setting causes all values in the exiftool application
1109
+ -json output to be quoted, regardless of whether or not they are in a
1110
+ structure.
1111
+
1103
1112
  =item SystemTags
1104
1113
 
1105
1114
  Flag to extract the following additional File System tags: FileAttributes,
@@ -1,6 +1,6 @@
1
1
  Summary: perl module for image data extraction
2
2
  Name: perl-Image-ExifTool
3
- Version: 12.86
3
+ Version: 12.89
4
4
  Release: 1
5
5
  License: Artistic/GPL
6
6
  Group: Development/Libraries/Perl
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ExiftoolVendored
4
- VERSION = Gem::Version.new('12.86.0')
4
+ VERSION = Gem::Version.new('12.89.0')
5
5
  end
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.86.0
4
+ version: 12.89.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: 2024-06-10 00:00:00.000000000 Z
12
+ date: 2024-07-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: exiftool
@@ -63,6 +63,7 @@ files:
63
63
  - bin/config_files/gps2utm.config
64
64
  - bin/config_files/guano.config
65
65
  - bin/config_files/nksc.config
66
+ - bin/config_files/onone.config
66
67
  - bin/config_files/photoshop_paths.config
67
68
  - bin/config_files/picasa_faces.config
68
69
  - bin/config_files/pix4d.config