exiftool_vendored 12.99.0 → 13.03.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +76 -3
  3. data/bin/META.json +1 -1
  4. data/bin/META.yml +1 -1
  5. data/bin/README +2 -2
  6. data/bin/arg_files/exif2xmp.args +4 -0
  7. data/bin/arg_files/xmp2exif.args +4 -0
  8. data/bin/exiftool +121 -50
  9. data/bin/lib/Image/ExifTool/Apple.pm +2 -2
  10. data/bin/lib/Image/ExifTool/CBOR.pm +4 -1
  11. data/bin/lib/Image/ExifTool/Canon.pm +35 -26
  12. data/bin/lib/Image/ExifTool/Exif.pm +15 -9
  13. data/bin/lib/Image/ExifTool/FlashPix.pm +5 -9
  14. data/bin/lib/Image/ExifTool/GIF.pm +143 -92
  15. data/bin/lib/Image/ExifTool/Geolocation.dat +0 -0
  16. data/bin/lib/Image/ExifTool/Geotag.pm +6 -5
  17. data/bin/lib/Image/ExifTool/GoPro.pm +2 -2
  18. data/bin/lib/Image/ExifTool/JPEG.pm +9 -1
  19. data/bin/lib/Image/ExifTool/Jpeg2000.pm +2 -2
  20. data/bin/lib/Image/ExifTool/LNK.pm +1 -1
  21. data/bin/lib/Image/ExifTool/M2TS.pm +2 -2
  22. data/bin/lib/Image/ExifTool/MIE.pm +9 -3
  23. data/bin/lib/Image/ExifTool/MacOS.pm +2 -1
  24. data/bin/lib/Image/ExifTool/Matroska.pm +10 -2
  25. data/bin/lib/Image/ExifTool/Nikon.pm +5 -2
  26. data/bin/lib/Image/ExifTool/PDF.pm +35 -4
  27. data/bin/lib/Image/ExifTool/PNG.pm +14 -3
  28. data/bin/lib/Image/ExifTool/PPM.pm +11 -2
  29. data/bin/lib/Image/ExifTool/PhaseOne.pm +2 -1
  30. data/bin/lib/Image/ExifTool/QuickTime.pm +6 -1
  31. data/bin/lib/Image/ExifTool/QuickTimeStream.pl +69 -7
  32. data/bin/lib/Image/ExifTool/RIFF.pm +7 -2
  33. data/bin/lib/Image/ExifTool/TagLookup.pm +5596 -5582
  34. data/bin/lib/Image/ExifTool/TagNames.pod +75 -21
  35. data/bin/lib/Image/ExifTool/Text.pm +3 -2
  36. data/bin/lib/Image/ExifTool/Validate.pm +2 -2
  37. data/bin/lib/Image/ExifTool/WriteRIFF.pl +13 -4
  38. data/bin/lib/Image/ExifTool/Writer.pl +42 -66
  39. data/bin/lib/Image/ExifTool/XMP.pm +19 -4
  40. data/bin/lib/Image/ExifTool/XMP2.pl +60 -0
  41. data/bin/lib/Image/ExifTool/XMPStruct.pl +1 -2
  42. data/bin/lib/Image/ExifTool.pm +204 -86
  43. data/bin/lib/Image/ExifTool.pod +58 -31
  44. data/bin/perl-Image-ExifTool.spec +1 -1
  45. data/lib/exiftool_vendored/version.rb +1 -1
  46. metadata +2 -2
@@ -520,9 +520,9 @@ set to undef to pass through EXIF "ASCII" values without recoding. Set to
520
520
  =item CharsetFileName
521
521
 
522
522
  External character set used for file names passed to ExifTool functions.
523
- When set in Windows, this triggers use of Windows wide-character i/o library
524
- routines (requires Win32API::File). Default is undef. May also be set to
525
- an empty string to avoid "encoding not specified" warnings on Windows.
523
+ Default is undef but "UTF8" is assumed in Windows if the file name contains
524
+ special characters and is valid UTF8. May also be set to an empty string to
525
+ avoid "encoding must be specified" warnings on Windows.
526
526
 
527
527
  =item CharsetID3
528
528
 
@@ -809,8 +809,21 @@ Reference units for writing GPSSpeed when geotagging:
809
809
 
810
810
  Time shift to apply to all extracted date/time PrintConv values. Does not
811
811
  affect ValueConv values. Value is a date/time shift string (see
812
- L<Image::ExifTool::Shift(3pm)|Image::ExifTool::Shift.pl>), with a leading
813
- '-' for negative shifts. Default is undef.
812
+ L<Image::ExifTool::Shift(3pm)|Image::ExifTool::Shift.pl>) with a leading
813
+ '-' for negative shifts, or a tag name with option group prefix followed
814
+ by '+' or '-' then the shift string. Default is undef.
815
+
816
+ Note: When specifying a number of months and/or years to shift, the tag for
817
+ the starting date should be specified so the number of days can be
818
+ determined unambiguously. For example:
819
+
820
+ 'createdate-1:0:0 0:0:0' - shift back by the length of the
821
+ year before the CreateDate value
822
+ 'xmp:createdate+0:2:0 0' - shift forward by the length of
823
+ the 2 months after XMP:CreateDate
824
+
825
+ If the starting tag is not specified, or the specified tag isn't available,
826
+ then the shift is calculated based on the first shifted tag.
814
827
 
815
828
  =item Group#
816
829
 
@@ -981,7 +994,7 @@ normally. Currently this feature applies only to GM PDR data (see
981
994
  L<Image::ExifTool::TagNames/GM Tags>). Setting this option automatically
982
995
  sets L</IgnoreTags> to "all", and L</ExtractEmbedded> to 1. Default is
983
996
  undef.
984
-
997
+
985
998
  =item QuickTimeHandler
986
999
 
987
1000
  Flag set to add an 'mdir' Handler to a newly created Meta box when adding
@@ -1028,6 +1041,11 @@ current RequestTags list. Groups are requested by adding a colon after the
1028
1041
  name (eg. "MacOS:"). Names are converted to lower case as they are added to
1029
1042
  the list. Default is undef.
1030
1043
 
1044
+ =item SaveBin
1045
+
1046
+ Flag to save binary values of tags, accessible through calls to L</GetValue>
1047
+ with a value type of "Bin".
1048
+
1031
1049
  =item SaveFormat
1032
1050
 
1033
1051
  Flag to save EXIF/TIFF format type as the family 6 group name when
@@ -1176,13 +1194,17 @@ details about the tags. Level 3 adds a hex dump of the tag data, but with
1176
1194
  limits on the number of bytes dumped. Levels 4 and 5 remove the dump limit
1177
1195
  on tag values and JPEG segment data respectively.
1178
1196
 
1197
+ =item WindowsLongPath
1198
+
1199
+ Support long path names in Windows. Enabling this option automatically
1200
+ enables the WindowsWideFile feature.
1201
+
1179
1202
  =item WindowsWideFile
1180
1203
 
1181
- Force the use of wide-character Windows I/O functions when the
1182
- L</CharsetFileName> option is used. This may be necessary when files are on
1183
- a network drive and the current directory name contains Unicode characters.
1184
- By default, the wide-character functions are used only if the specified file
1185
- path contains Unicode characters.
1204
+ Force the use of wide-character Windows I/O functions. This may be
1205
+ necessary when files are on a network drive and the current directory name
1206
+ contains Unicode characters. By default, the wide-character functions are
1207
+ used only if the specified file path contains Unicode characters.
1186
1208
 
1187
1209
  =item WriteMode
1188
1210
 
@@ -1257,8 +1279,9 @@ CharsetPhotoshop, CharsetQuickTime, CharsetRIFF, Composite, ExtendedXMP,
1257
1279
  ExtractEmbedded, FastScan, FixBase, HtmlDump, HtmlDumpBase, IgnoreGroups,
1258
1280
  IgnoreMinorErrors, IgnoreTags, Lang, LargeFileSupport, MakerNotes,
1259
1281
  MDItemTags, NoPDFList, Password, QuickTimeUTC (enforced 1904 time zero),
1260
- RequestAll, RequestTags, SaveFormat, SavePath, ScanForXMP, Struct, TextOut,
1261
- Unknown, Verbose, WindowsWideFile, XAttrTags and XMPAutoConv.
1282
+ RequestAll, RequestTags, SaveBin, SaveFormat, SavePath, ScanForXMP, Struct,
1283
+ TextOut, Unknown, Verbose, WindowsLongPath, WindowsWideFile, XAttrTags and
1284
+ XMPAutoConv.
1262
1285
 
1263
1286
  =item Return Value:
1264
1287
 
@@ -1397,7 +1420,8 @@ The following ExifTool options are effective in the call to L</WriteInfo>:
1397
1420
 
1398
1421
  ByteOrder, Charset, CharsetEXIF, CharsetFileName, CharsetIPTC, Compact,
1399
1422
  Compress, FixBase, IgnoreMinorErrors, NoMultiExif, NoPDFList, Password,
1400
- QuickTimeHandler, QuickTimePad, Verbose, WindowsWideFile and WriteMode.
1423
+ QuickTimeHandler, QuickTimePad, Verbose, WindowsLongPath, WindowsWideFile
1424
+ and WriteMode.
1401
1425
 
1402
1426
  =head2 GetTagList
1403
1427
 
@@ -1535,14 +1559,15 @@ StrictDate and TimeZone.
1535
1559
 
1536
1560
  1) Tag key, or case-sensitive tag name with optional group prefix(es)
1537
1561
 
1538
- 2) [optional] Value type: 'PrintConv', 'ValueConv', 'Both', 'Raw' or
1562
+ 2) [optional] Value type: 'PrintConv', 'ValueConv', 'Both', 'Raw', 'Bin' or
1539
1563
  'Rational'
1540
1564
 
1541
1565
  The default value type is 'PrintConv' if the PrintConv option is set,
1542
1566
  otherwise the default is 'ValueConv'. A value type of 'Both' returns both
1543
- ValueConv and PrintConv values as a list. 'Rational' returns the raw
1544
- rational value as a string fraction for rational types, or undef for other
1545
- types.
1567
+ ValueConv and PrintConv values as a list. 'Raw' returns the raw decoded tag
1568
+ value. 'Bin' returns the original binary data for EXIF tags if the
1569
+ L</SaveBin> option was set. 'Rational' returns the raw rational value as a
1570
+ string fraction for rational types, or undef for other types.
1546
1571
 
1547
1572
  =item Return Values:
1548
1573
 
@@ -2394,7 +2419,8 @@ Get a list of available API options. (See L</Options> for option details.)
2394
2419
  =item Return Values:
2395
2420
 
2396
2421
  Reference to list of available options. Each entry in the list is a list
2397
- reference with 3 items: 0=Option name, 1=Default value, 2=Description.
2422
+ reference with 4 items: 0=Option name, 1=Default value, 2=Description,
2423
+ 3=flag set if option is undocumented.
2398
2424
 
2399
2425
  my $opts = Image::ExifTool::<b>AvailableOptions</b>();
2400
2426
  foreach (@$opts) {
@@ -2550,20 +2576,21 @@ Pentax, PhaseOne, PhotoCD, PhotoMechanic, Photoshop, PictureInfo,
2550
2576
  PostScript, PreviewIFD, PrintIM, ProfileIFD, Qualcomm, QuickTime, RAF, RAF2,
2551
2577
  RIFF, RMETA, RSRC, RTF, Radiance, Rawzor, Real, Real-CONT, Real-MDPR,
2552
2578
  Real-PROP, Real-RA3, Real-RA4, Real-RA5, Real-RJMD, Reconyx, Red, Ricoh,
2553
- SPIFF, SR2, SR2DataIFD, SR2SubIFD, SRF#, SVG, Samsung, Sanyo, Scalado,
2579
+ SEAL, SPIFF, SR2, SR2DataIFD, SR2SubIFD, SRF#, SVG, Samsung, Sanyo, Scalado,
2554
2580
  Sigma, SigmaRaw, Sony, SonyIDC, Stim, SubIFD, System, Theora, Torrent,
2555
2581
  Track#, UserData, VCalendar, VCard, VNote, Version0, Vorbis, WTV, XML, XMP,
2556
- XMP-DICOM, XMP-Device, XMP-GAudio, XMP-GCamera, XMP-GCreations, XMP-GDepth,
2557
- XMP-GFocus, XMP-GImage, XMP-GPano, XMP-GSpherical, XMP-LImage, XMP-MP,
2558
- XMP-MP1, XMP-PixelLive, XMP-aas, XMP-acdsee, XMP-album, XMP-apple-fi,
2559
- XMP-ast, XMP-aux, XMP-cc, XMP-cell, XMP-crd, XMP-creatorAtom, XMP-crs,
2560
- XMP-dc, XMP-dex, XMP-digiKam, XMP-drone-dji, XMP-dwc, XMP-et, XMP-exif,
2561
- XMP-exifEX, XMP-expressionmedia, XMP-extensis, XMP-fpv, XMP-getty, XMP-hdr,
2562
- XMP-hdrgm, XMP-ics, XMP-iptcCore, XMP-iptcExt, XMP-lr, XMP-mediapro,
2563
- XMP-microsoft, XMP-mwg-coll, XMP-mwg-kw, XMP-mwg-rs, XMP-nine, XMP-panorama,
2564
- XMP-pdf, XMP-pdfx, XMP-photomech, XMP-photoshop, XMP-plus, XMP-pmi,
2565
- XMP-prism, XMP-prl, XMP-prm, XMP-pur, XMP-rdf, XMP-sdc, XMP-swf, XMP-tiff,
2566
- XMP-x, XMP-xmp, XMP-xmpBJ, XMP-xmpDM, XMP-xmpDSA, XMP-xmpMM, XMP-xmpNote,
2582
+ XMP-DICOM, XMP-Device, XMP-GAudio, XMP-GCamera, XMP-GContainer,
2583
+ XMP-GCreations, XMP-GDepth, XMP-GFocus, XMP-GImage, XMP-GPano,
2584
+ XMP-GSpherical, XMP-LImage, XMP-MP, XMP-MP1, XMP-PixelLive, XMP-aas,
2585
+ XMP-acdsee, XMP-acdsee-rs, XMP-album, XMP-apple-fi, XMP-ast, XMP-aux,
2586
+ XMP-cc, XMP-cell, XMP-crd, XMP-creatorAtom, XMP-crs, XMP-dc, XMP-dex,
2587
+ XMP-digiKam, XMP-drone-dji, XMP-dwc, XMP-et, XMP-exif, XMP-exifEX,
2588
+ XMP-expressionmedia, XMP-extensis, XMP-fpv, XMP-getty, XMP-hdr, XMP-hdrgm,
2589
+ XMP-ics, XMP-iptcCore, XMP-iptcExt, XMP-lr, XMP-mediapro, XMP-microsoft,
2590
+ XMP-mwg-coll, XMP-mwg-kw, XMP-mwg-rs, XMP-nine, XMP-panorama, XMP-pdf,
2591
+ XMP-pdfx, XMP-photomech, XMP-photoshop, XMP-plus, XMP-pmi, XMP-prism,
2592
+ XMP-prl, XMP-prm, XMP-pur, XMP-rdf, XMP-sdc, XMP-swf, XMP-tiff, XMP-x,
2593
+ XMP-xmp, XMP-xmpBJ, XMP-xmpDM, XMP-xmpDSA, XMP-xmpMM, XMP-xmpNote,
2567
2594
  XMP-xmpPLUS, XMP-xmpRights, XMP-xmpTPg, ZIP, iTunes
2568
2595
 
2569
2596
  =item Family 2 (Category):
@@ -1,6 +1,6 @@
1
1
  Summary: perl module for image data extraction
2
2
  Name: perl-Image-ExifTool
3
- Version: 12.99
3
+ Version: 13.03
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.99.0')
4
+ VERSION = Gem::Version.new('13.03.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.99.0
4
+ version: 13.03.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-10-29 00:00:00.000000000 Z
12
+ date: 2024-11-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: exiftool