exiftool_vendored 12.72.0 → 12.73.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (206) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +17 -0
  3. data/bin/META.json +1 -1
  4. data/bin/META.yml +1 -1
  5. data/bin/README +3 -3
  6. data/bin/exiftool +28 -15
  7. data/bin/lib/File/RandomAccess.pm +1 -1
  8. data/bin/lib/File/RandomAccess.pod +2 -2
  9. data/bin/lib/Image/ExifTool/AAC.pm +8 -6
  10. data/bin/lib/Image/ExifTool/AES.pm +1 -1
  11. data/bin/lib/Image/ExifTool/AFCP.pm +1 -1
  12. data/bin/lib/Image/ExifTool/AIFF.pm +1 -1
  13. data/bin/lib/Image/ExifTool/APE.pm +1 -1
  14. data/bin/lib/Image/ExifTool/APP12.pm +1 -1
  15. data/bin/lib/Image/ExifTool/ASF.pm +1 -1
  16. data/bin/lib/Image/ExifTool/Apple.pm +1 -1
  17. data/bin/lib/Image/ExifTool/Audible.pm +1 -1
  18. data/bin/lib/Image/ExifTool/BMP.pm +1 -1
  19. data/bin/lib/Image/ExifTool/BPG.pm +1 -1
  20. data/bin/lib/Image/ExifTool/BZZ.pm +1 -1
  21. data/bin/lib/Image/ExifTool/BigTIFF.pm +1 -1
  22. data/bin/lib/Image/ExifTool/BuildTagLookup.pm +2 -2
  23. data/bin/lib/Image/ExifTool/CBOR.pm +1 -1
  24. data/bin/lib/Image/ExifTool/Canon.pm +1 -1
  25. data/bin/lib/Image/ExifTool/CanonCustom.pm +1 -1
  26. data/bin/lib/Image/ExifTool/CanonRaw.pm +1 -1
  27. data/bin/lib/Image/ExifTool/CanonVRD.pm +1 -1
  28. data/bin/lib/Image/ExifTool/CaptureOne.pm +1 -1
  29. data/bin/lib/Image/ExifTool/Casio.pm +1 -1
  30. data/bin/lib/Image/ExifTool/Charset.pm +1 -1
  31. data/bin/lib/Image/ExifTool/DICOM.pm +1 -1
  32. data/bin/lib/Image/ExifTool/DJI.pm +1 -1
  33. data/bin/lib/Image/ExifTool/DNG.pm +1 -1
  34. data/bin/lib/Image/ExifTool/DPX.pm +1 -1
  35. data/bin/lib/Image/ExifTool/DV.pm +1 -1
  36. data/bin/lib/Image/ExifTool/DarwinCore.pm +1 -1
  37. data/bin/lib/Image/ExifTool/DjVu.pm +1 -1
  38. data/bin/lib/Image/ExifTool/EXE.pm +1 -1
  39. data/bin/lib/Image/ExifTool/Exif.pm +1 -1
  40. data/bin/lib/Image/ExifTool/FITS.pm +1 -1
  41. data/bin/lib/Image/ExifTool/FLAC.pm +1 -1
  42. data/bin/lib/Image/ExifTool/FLIF.pm +1 -1
  43. data/bin/lib/Image/ExifTool/FLIR.pm +1 -1
  44. data/bin/lib/Image/ExifTool/Fixup.pm +1 -1
  45. data/bin/lib/Image/ExifTool/Flash.pm +1 -1
  46. data/bin/lib/Image/ExifTool/FlashPix.pm +60 -7
  47. data/bin/lib/Image/ExifTool/Font.pm +1 -1
  48. data/bin/lib/Image/ExifTool/FotoStation.pm +1 -1
  49. data/bin/lib/Image/ExifTool/FujiFilm.pm +1 -1
  50. data/bin/lib/Image/ExifTool/GE.pm +1 -1
  51. data/bin/lib/Image/ExifTool/GIF.pm +1 -1
  52. data/bin/lib/Image/ExifTool/GIMP.pm +1 -1
  53. data/bin/lib/Image/ExifTool/GPS.pm +1 -1
  54. data/bin/lib/Image/ExifTool/GeoTiff.pm +1 -1
  55. data/bin/lib/Image/ExifTool/Geotag.pm +1 -1
  56. data/bin/lib/Image/ExifTool/GoPro.pm +1 -1
  57. data/bin/lib/Image/ExifTool/H264.pm +1 -1
  58. data/bin/lib/Image/ExifTool/HP.pm +1 -1
  59. data/bin/lib/Image/ExifTool/HTML.pm +1 -1
  60. data/bin/lib/Image/ExifTool/HtmlDump.pm +1 -1
  61. data/bin/lib/Image/ExifTool/ICC_Profile.pm +1 -1
  62. data/bin/lib/Image/ExifTool/ICO.pm +1 -1
  63. data/bin/lib/Image/ExifTool/ID3.pm +1 -1
  64. data/bin/lib/Image/ExifTool/IPTC.pm +1 -1
  65. data/bin/lib/Image/ExifTool/ISO.pm +1 -1
  66. data/bin/lib/Image/ExifTool/ITC.pm +1 -1
  67. data/bin/lib/Image/ExifTool/Import.pm +1 -1
  68. data/bin/lib/Image/ExifTool/InDesign.pm +1 -1
  69. data/bin/lib/Image/ExifTool/InfiRay.pm +1 -1
  70. data/bin/lib/Image/ExifTool/JPEG.pm +5 -2
  71. data/bin/lib/Image/ExifTool/JPEGDigest.pm +1 -1
  72. data/bin/lib/Image/ExifTool/JSON.pm +1 -1
  73. data/bin/lib/Image/ExifTool/JVC.pm +3 -3
  74. data/bin/lib/Image/ExifTool/Jpeg2000.pm +17 -6
  75. data/bin/lib/Image/ExifTool/Kodak.pm +1 -1
  76. data/bin/lib/Image/ExifTool/KyoceraRaw.pm +1 -1
  77. data/bin/lib/Image/ExifTool/LIF.pm +1 -1
  78. data/bin/lib/Image/ExifTool/LNK.pm +1 -1
  79. data/bin/lib/Image/ExifTool/Lang/cs.pm +1 -1
  80. data/bin/lib/Image/ExifTool/Lang/de.pm +1 -1
  81. data/bin/lib/Image/ExifTool/Lang/en_ca.pm +1 -1
  82. data/bin/lib/Image/ExifTool/Lang/en_gb.pm +1 -1
  83. data/bin/lib/Image/ExifTool/Lang/es.pm +4 -4
  84. data/bin/lib/Image/ExifTool/Lang/fi.pm +1 -1
  85. data/bin/lib/Image/ExifTool/Lang/fr.pm +4 -5
  86. data/bin/lib/Image/ExifTool/Lang/it.pm +3 -3
  87. data/bin/lib/Image/ExifTool/Lang/ja.pm +1 -1
  88. data/bin/lib/Image/ExifTool/Lang/ko.pm +1 -1
  89. data/bin/lib/Image/ExifTool/Lang/nl.pm +1 -1
  90. data/bin/lib/Image/ExifTool/Lang/pl.pm +1 -1
  91. data/bin/lib/Image/ExifTool/Lang/ru.pm +1 -1
  92. data/bin/lib/Image/ExifTool/Lang/sk.pm +1 -1
  93. data/bin/lib/Image/ExifTool/Lang/sv.pm +1 -1
  94. data/bin/lib/Image/ExifTool/Lang/tr.pm +1 -1
  95. data/bin/lib/Image/ExifTool/Lang/zh_cn.pm +1 -1
  96. data/bin/lib/Image/ExifTool/Lang/zh_tw.pm +1 -1
  97. data/bin/lib/Image/ExifTool/Leaf.pm +3 -3
  98. data/bin/lib/Image/ExifTool/Lytro.pm +1 -1
  99. data/bin/lib/Image/ExifTool/M2TS.pm +1 -1
  100. data/bin/lib/Image/ExifTool/MIE.pm +3 -3
  101. data/bin/lib/Image/ExifTool/MIEUnits.pod +1 -1
  102. data/bin/lib/Image/ExifTool/MIFF.pm +1 -1
  103. data/bin/lib/Image/ExifTool/MISB.pm +1 -1
  104. data/bin/lib/Image/ExifTool/MNG.pm +1 -1
  105. data/bin/lib/Image/ExifTool/MOI.pm +1 -1
  106. data/bin/lib/Image/ExifTool/MPC.pm +1 -1
  107. data/bin/lib/Image/ExifTool/MPEG.pm +1 -1
  108. data/bin/lib/Image/ExifTool/MPF.pm +1 -1
  109. data/bin/lib/Image/ExifTool/MRC.pm +1 -1
  110. data/bin/lib/Image/ExifTool/MWG.pm +1 -1
  111. data/bin/lib/Image/ExifTool/MXF.pm +1 -1
  112. data/bin/lib/Image/ExifTool/MacOS.pm +1 -1
  113. data/bin/lib/Image/ExifTool/MakerNotes.pm +1 -1
  114. data/bin/lib/Image/ExifTool/Matroska.pm +1 -1
  115. data/bin/lib/Image/ExifTool/Microsoft.pm +1 -1
  116. data/bin/lib/Image/ExifTool/Minolta.pm +1 -1
  117. data/bin/lib/Image/ExifTool/MinoltaRaw.pm +1 -1
  118. data/bin/lib/Image/ExifTool/Motorola.pm +1 -1
  119. data/bin/lib/Image/ExifTool/Nikon.pm +9 -8
  120. data/bin/lib/Image/ExifTool/NikonCapture.pm +1 -1
  121. data/bin/lib/Image/ExifTool/NikonCustom.pm +1 -1
  122. data/bin/lib/Image/ExifTool/NikonSettings.pm +1 -1
  123. data/bin/lib/Image/ExifTool/Nintendo.pm +1 -1
  124. data/bin/lib/Image/ExifTool/OOXML.pm +1 -1
  125. data/bin/lib/Image/ExifTool/Ogg.pm +1 -1
  126. data/bin/lib/Image/ExifTool/Olympus.pm +1 -1
  127. data/bin/lib/Image/ExifTool/OpenEXR.pm +1 -1
  128. data/bin/lib/Image/ExifTool/Opus.pm +1 -1
  129. data/bin/lib/Image/ExifTool/Other.pm +1 -1
  130. data/bin/lib/Image/ExifTool/PCX.pm +1 -1
  131. data/bin/lib/Image/ExifTool/PDF.pm +1 -1
  132. data/bin/lib/Image/ExifTool/PGF.pm +1 -1
  133. data/bin/lib/Image/ExifTool/PICT.pm +1 -1
  134. data/bin/lib/Image/ExifTool/PLIST.pm +1 -1
  135. data/bin/lib/Image/ExifTool/PLUS.pm +1 -1
  136. data/bin/lib/Image/ExifTool/PNG.pm +24 -2
  137. data/bin/lib/Image/ExifTool/PPM.pm +1 -1
  138. data/bin/lib/Image/ExifTool/PSP.pm +1 -1
  139. data/bin/lib/Image/ExifTool/Palm.pm +1 -1
  140. data/bin/lib/Image/ExifTool/Panasonic.pm +27 -2
  141. data/bin/lib/Image/ExifTool/PanasonicRaw.pm +1 -1
  142. data/bin/lib/Image/ExifTool/Parrot.pm +1 -1
  143. data/bin/lib/Image/ExifTool/Pentax.pm +32 -11
  144. data/bin/lib/Image/ExifTool/PhaseOne.pm +4 -4
  145. data/bin/lib/Image/ExifTool/PhotoCD.pm +1 -1
  146. data/bin/lib/Image/ExifTool/PhotoMechanic.pm +1 -1
  147. data/bin/lib/Image/ExifTool/Photoshop.pm +1 -1
  148. data/bin/lib/Image/ExifTool/PostScript.pm +1 -1
  149. data/bin/lib/Image/ExifTool/PrintIM.pm +1 -1
  150. data/bin/lib/Image/ExifTool/Qualcomm.pm +1 -1
  151. data/bin/lib/Image/ExifTool/QuickTime.pm +21 -1
  152. data/bin/lib/Image/ExifTool/QuickTimeStream.pl +90 -2
  153. data/bin/lib/Image/ExifTool/RIFF.pm +1 -1
  154. data/bin/lib/Image/ExifTool/RSRC.pm +1 -1
  155. data/bin/lib/Image/ExifTool/RTF.pm +1 -1
  156. data/bin/lib/Image/ExifTool/Radiance.pm +1 -1
  157. data/bin/lib/Image/ExifTool/Rawzor.pm +1 -1
  158. data/bin/lib/Image/ExifTool/Real.pm +1 -1
  159. data/bin/lib/Image/ExifTool/Reconyx.pm +1 -1
  160. data/bin/lib/Image/ExifTool/Red.pm +1 -1
  161. data/bin/lib/Image/ExifTool/Ricoh.pm +3 -3
  162. data/bin/lib/Image/ExifTool/Samsung.pm +1 -1
  163. data/bin/lib/Image/ExifTool/Sanyo.pm +1 -1
  164. data/bin/lib/Image/ExifTool/Scalado.pm +1 -1
  165. data/bin/lib/Image/ExifTool/Shift.pl +1 -1
  166. data/bin/lib/Image/ExifTool/Shortcuts.pm +1 -1
  167. data/bin/lib/Image/ExifTool/Sigma.pm +1 -1
  168. data/bin/lib/Image/ExifTool/SigmaRaw.pm +1 -1
  169. data/bin/lib/Image/ExifTool/Sony.pm +3 -3
  170. data/bin/lib/Image/ExifTool/SonyIDC.pm +1 -1
  171. data/bin/lib/Image/ExifTool/Stim.pm +1 -1
  172. data/bin/lib/Image/ExifTool/TagInfoXML.pm +2 -2
  173. data/bin/lib/Image/ExifTool/TagLookup.pm +3872 -3858
  174. data/bin/lib/Image/ExifTool/TagNames.pod +11416 -11382
  175. data/bin/lib/Image/ExifTool/Text.pm +1 -1
  176. data/bin/lib/Image/ExifTool/Theora.pm +1 -1
  177. data/bin/lib/Image/ExifTool/Torrent.pm +1 -1
  178. data/bin/lib/Image/ExifTool/Unknown.pm +1 -1
  179. data/bin/lib/Image/ExifTool/VCard.pm +1 -1
  180. data/bin/lib/Image/ExifTool/Validate.pm +1 -1
  181. data/bin/lib/Image/ExifTool/Vorbis.pm +1 -1
  182. data/bin/lib/Image/ExifTool/WPG.pm +1 -1
  183. data/bin/lib/Image/ExifTool/WTV.pm +1 -1
  184. data/bin/lib/Image/ExifTool/WriteCanonRaw.pl +1 -1
  185. data/bin/lib/Image/ExifTool/WriteExif.pl +1 -1
  186. data/bin/lib/Image/ExifTool/WriteIPTC.pl +1 -1
  187. data/bin/lib/Image/ExifTool/WritePDF.pl +1 -1
  188. data/bin/lib/Image/ExifTool/WritePNG.pl +1 -1
  189. data/bin/lib/Image/ExifTool/WritePhotoshop.pl +1 -1
  190. data/bin/lib/Image/ExifTool/WritePostScript.pl +1 -1
  191. data/bin/lib/Image/ExifTool/WriteQuickTime.pl +4 -1
  192. data/bin/lib/Image/ExifTool/WriteRIFF.pl +1 -1
  193. data/bin/lib/Image/ExifTool/WriteXMP.pl +5 -3
  194. data/bin/lib/Image/ExifTool/Writer.pl +6 -1
  195. data/bin/lib/Image/ExifTool/XISF.pm +1 -1
  196. data/bin/lib/Image/ExifTool/XMP.pm +19 -3
  197. data/bin/lib/Image/ExifTool/XMP2.pl +1 -1
  198. data/bin/lib/Image/ExifTool/XMPStruct.pl +1 -1
  199. data/bin/lib/Image/ExifTool/ZIP.pm +1 -1
  200. data/bin/lib/Image/ExifTool/ZISRAW.pm +1 -1
  201. data/bin/lib/Image/ExifTool/iWork.pm +1 -1
  202. data/bin/lib/Image/ExifTool.pm +18 -3
  203. data/bin/lib/Image/ExifTool.pod +10 -2
  204. data/bin/perl-Image-ExifTool.spec +1 -1
  205. data/lib/exiftool_vendored/version.rb +1 -1
  206. metadata +2 -2
@@ -221,7 +221,7 @@ characteristics of TXT and CSV files.
221
221
 
222
222
  =head1 AUTHOR
223
223
 
224
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
224
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
225
225
 
226
226
  This library is free software; you can redistribute it and/or modify it
227
227
  under the same terms as Perl itself.
@@ -122,7 +122,7 @@ information from Theora video streams.
122
122
 
123
123
  =head1 AUTHOR
124
124
 
125
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
125
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
126
126
 
127
127
  This library is free software; you can redistribute it and/or modify it
128
128
  under the same terms as Perl itself.
@@ -309,7 +309,7 @@ bencoded information from BitTorrent files.
309
309
 
310
310
  =head1 AUTHOR
311
311
 
312
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
312
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
313
313
 
314
314
  This library is free software; you can redistribute it and/or modify it
315
315
  under the same terms as Perl itself.
@@ -53,7 +53,7 @@ unknown manufacturers.
53
53
 
54
54
  =head1 AUTHOR
55
55
 
56
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
56
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
57
57
 
58
58
  This library is free software; you can redistribute it and/or modify it
59
59
  under the same terms as Perl itself.
@@ -430,7 +430,7 @@ information from vCard VCF and iCalendar ICS files.
430
430
 
431
431
  =head1 AUTHOR
432
432
 
433
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
433
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
434
434
 
435
435
  This library is free software; you can redistribute it and/or modify it
436
436
  under the same terms as Perl itself.
@@ -678,7 +678,7 @@ ExifTool Validate option is enabled.
678
678
 
679
679
  =head1 AUTHOR
680
680
 
681
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
681
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
682
682
 
683
683
  This library is free software; you can redistribute it and/or modify it
684
684
  under the same terms as Perl itself.
@@ -228,7 +228,7 @@ information from Ogg Vorbis audio headers.
228
228
 
229
229
  =head1 AUTHOR
230
230
 
231
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
231
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
232
232
 
233
233
  This library is free software; you can redistribute it and/or modify it
234
234
  under the same terms as Perl itself.
@@ -271,7 +271,7 @@ This module contains definitions required by Image::ExifTool to read WPG
271
271
 
272
272
  =head1 AUTHOR
273
273
 
274
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
274
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
275
275
 
276
276
  This library is free software; you can redistribute it and/or modify it
277
277
  under the same terms as Perl itself.
@@ -297,7 +297,7 @@ This module contains definitions required by Image::ExifTool to read WTV
297
297
 
298
298
  =head1 AUTHOR
299
299
 
300
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
300
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
301
301
 
302
302
  This library is free software; you can redistribute it and/or modify it
303
303
  under the same terms as Perl itself.
@@ -630,7 +630,7 @@ JPEG files, and would lead to far fewer problems with corrupted metadata.
630
630
 
631
631
  =head1 AUTHOR
632
632
 
633
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
633
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
634
634
 
635
635
  This library is free software; you can redistribute it and/or modify it
636
636
  under the same terms as Perl itself.
@@ -2722,7 +2722,7 @@ This file contains routines to write EXIF metadata.
2722
2722
 
2723
2723
  =head1 AUTHOR
2724
2724
 
2725
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
2725
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
2726
2726
 
2727
2727
  This library is free software; you can redistribute it and/or modify it
2728
2728
  under the same terms as Perl itself.
@@ -711,7 +711,7 @@ seldom-used routines.
711
711
 
712
712
  =head1 AUTHOR
713
713
 
714
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
714
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
715
715
 
716
716
  This library is free software; you can redistribute it and/or modify it
717
717
  under the same terms as Perl itself.
@@ -753,7 +753,7 @@ C<PDF-update> pseudo group).
753
753
 
754
754
  =head1 AUTHOR
755
755
 
756
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
756
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
757
757
 
758
758
  This library is free software; you can redistribute it and/or modify it
759
759
  under the same terms as Perl itself.
@@ -401,7 +401,7 @@ strings).
401
401
 
402
402
  =head1 AUTHOR
403
403
 
404
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
404
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
405
405
 
406
406
  This library is free software; you can redistribute it and/or modify it
407
407
  under the same terms as Perl itself.
@@ -257,7 +257,7 @@ default resource name, and applied if no appended name is provided.
257
257
 
258
258
  =head1 AUTHOR
259
259
 
260
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
260
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
261
261
 
262
262
  This library is free software; you can redistribute it and/or modify it
263
263
  under the same terms as Perl itself.
@@ -687,7 +687,7 @@ Thanks to Tim Kordick for his help testing the EPS writer.
687
687
 
688
688
  =head1 AUTHOR
689
689
 
690
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
690
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
691
691
 
692
692
  This library is free software; you can redistribute it and/or modify it
693
693
  under the same terms as Perl itself.
@@ -169,8 +169,11 @@ sub ConvInvISO6709($)
169
169
  # with more than 5 digits after the decimal place:
170
170
  # https://exiftool.org/forum/index.php?topic=11055.msg67171#msg67171 )
171
171
  my @fmt = ('%s%02d.%s%s','%s%03d.%s%s','%s%d.%s%s');
172
+ my @limit = (90,180);
172
173
  foreach (@a) {
173
174
  return undef unless Image::ExifTool::IsFloat($_);
175
+ my $lim = shift @limit;
176
+ warn((@limit ? 'Lat' : 'Long') . "itude out of range\n") if $lim and abs($_) > $lim;
174
177
  $_ =~ s/^([-+]?)(\d+)\.?(\d*)/sprintf(shift(@fmt),$1||'+',$2,$3,length($3)<3 ? '0'x(3-length($3)) : '')/e;
175
178
  }
176
179
  return join '', @a, '/';
@@ -1958,7 +1961,7 @@ QuickTime-based file formats like MOV and MP4.
1958
1961
 
1959
1962
  =head1 AUTHOR
1960
1963
 
1961
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
1964
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
1962
1965
 
1963
1966
  This library is free software; you can redistribute it and/or modify it
1964
1967
  under the same terms as Perl itself.
@@ -363,7 +363,7 @@ Currently writes only WebP files.
363
363
 
364
364
  =head1 AUTHOR
365
365
 
366
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
366
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
367
367
 
368
368
  This library is free software; you can redistribute it and/or modify it
369
369
  under the same terms as Perl itself.
@@ -137,13 +137,15 @@ sub ValidateProperty($$;$)
137
137
 
138
138
  #------------------------------------------------------------------------------
139
139
  # Check XMP date values for validity and format accordingly
140
- # Inputs: 1) EXIF-format date string
140
+ # Inputs: 1) EXIF-format date string (XMP-format also accepted)
141
141
  # Returns: XMP date/time string (or undef on error)
142
142
  sub FormatXMPDate($)
143
143
  {
144
144
  my $val = shift;
145
145
  my ($y, $m, $d, $t, $tz);
146
- if ($val =~ /(\d{4}):(\d{2}):(\d{2}) (\d{2}:\d{2}(?::\d{2}(?:\.\d*)?)?)(.*)/) {
146
+ if ($val =~ /(\d{4}):(\d{2}):(\d{2}) (\d{2}:\d{2}(?::\d{2}(?:\.\d*)?)?)(.*)/ or
147
+ $val =~ /(\d{4})-(\d{2})-(\d{2})T(\d{2}:\d{2}(?::\d{2}(?:\.\d*)?)?)(.*)/)
148
+ {
147
149
  ($y, $m, $d, $t, $tz) = ($1, $2, $3, $4, $5);
148
150
  $val = "$y-$m-${d}T$t";
149
151
  } elsif ($val =~ /^\s*\d{4}(:\d{2}){0,2}\s*$/) {
@@ -1635,7 +1637,7 @@ This file contains routines to write XMP metadata.
1635
1637
 
1636
1638
  =head1 AUTHOR
1637
1639
 
1638
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
1640
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
1639
1641
 
1640
1642
  This library is free software; you can redistribute it and/or modify it
1641
1643
  under the same terms as Perl itself.
@@ -1302,6 +1302,7 @@ sub SetNewValuesFromFile($$;@)
1302
1302
  ImageHashType => $$options{ImageHashType},
1303
1303
  Lang => $$options{Lang},
1304
1304
  LargeFileSupport=> $$options{LargeFileSupport},
1305
+ LimitLongValues => 10000000, # (10 MB)
1305
1306
  List => 1,
1306
1307
  ListItem => $$options{ListItem},
1307
1308
  ListSep => $$options{ListSep},
@@ -4506,6 +4507,7 @@ sub HexDump($;$%)
4506
4507
  # Count => number of values
4507
4508
  # Extra => Extra Verbose=2 information to put after tag number
4508
4509
  # Table => Reference to tag table
4510
+ # Name => Name to use for unknown tag
4509
4511
  # --> plus any of these HexDump() options: Start, Addr, Width
4510
4512
  sub VerboseInfo($$$%)
4511
4513
  {
@@ -4523,6 +4525,9 @@ sub VerboseInfo($$$%)
4523
4525
  # get tag name
4524
4526
  if ($tagInfo and $$tagInfo{Name}) {
4525
4527
  $tag = $$tagInfo{Name};
4528
+ } elsif ($parms{Name}) { # (used for PNG Plus FPX tags)
4529
+ $tag = $parms{Name};
4530
+ undef $hexID;
4526
4531
  } else {
4527
4532
  my $prefix;
4528
4533
  $prefix = $parms{Table}{TAG_PREFIX} if $parms{Table};
@@ -7304,7 +7309,7 @@ used routines.
7304
7309
 
7305
7310
  =head1 AUTHOR
7306
7311
 
7307
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
7312
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
7308
7313
 
7309
7314
  This library is free software; you can redistribute it and/or modify it
7310
7315
  under the same terms as Perl itself.
@@ -163,7 +163,7 @@ information from XISF (Extensible Image Serialization Format) images.
163
163
 
164
164
  =head1 AUTHOR
165
165
 
166
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
166
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
167
167
 
168
168
  This library is free software; you can redistribute it and/or modify it
169
169
  under the same terms as Perl itself.
@@ -50,7 +50,7 @@ use Image::ExifTool::Exif;
50
50
  use Image::ExifTool::GPS;
51
51
  require Exporter;
52
52
 
53
- $VERSION = '3.61';
53
+ $VERSION = '3.62';
54
54
  @ISA = qw(Exporter);
55
55
  @EXPORT_OK = qw(EscapeXML UnescapeXML);
56
56
 
@@ -201,6 +201,7 @@ my %xmpNS = (
201
201
  nine => 'http://ns.nikon.com/nine/1.0/',
202
202
  hdr_metadata => 'http://ns.adobe.com/hdr-metadata/1.0/',
203
203
  hdrgm => 'http://ns.adobe.com/hdr-gain-map/1.0/',
204
+ xmpDSA => 'http://leica-camera.com/digital-shift-assistant/1.0/',
204
205
  # Note: Not included due to namespace prefix conflict with Device:Container
205
206
  # Container => 'http://ns.google.com/photos/1.0/container/',
206
207
  );
@@ -921,6 +922,10 @@ my %sRangeMask = (
921
922
  Name => 'hdrgm',
922
923
  SubDirectory => { TagTable => 'Image::ExifTool::XMP::hdrgm' },
923
924
  },
925
+ xmpDSA => {
926
+ Name => 'xmpDSA',
927
+ SubDirectory => { TagTable => 'Image::ExifTool::Panasonic::DSA' },
928
+ },
924
929
  # Note: Note included due to namespace prefix conflict with Device:Container
925
930
  # Container => {
926
931
  # Name => 'Container',
@@ -4158,7 +4163,18 @@ sub ProcessXMP($$;$)
4158
4163
  $dataLen = $$dirInfo{DataLen} || length($$dataPt);
4159
4164
  # check leading BOM (may indicate double-encoded UTF)
4160
4165
  pos($$dataPt) = $dirStart;
4161
- $double = $1 if $$dataPt =~ /\G((\0\0)?\xfe\xff|\xff\xfe(\0\0)?|\xef\xbb\xbf)\0*<\0*\?\0*x\0*p\0*a\0*c\0*k\0*e\0*t/g;
4166
+ if ($$dataPt =~ /\G((\0\0)?\xfe\xff|\xff\xfe(\0\0)?|\xef\xbb\xbf)\0*<\0*\?\0*x\0*p\0*a\0*c\0*k\0*e\0*t/g) {
4167
+ $double = $1
4168
+ } else {
4169
+ # handle UTF-16/32 XML
4170
+ pos($$dataPt) = $dirStart;
4171
+ if ($$dataPt =~ /\G((\0\0)?\xfe\xff|\xff\xfe(\0\0)?|\xef\xbb\xbf)\0*<\0*\?\0*x\0*m\0*l\0* /g) {
4172
+ my $tmp = $1;
4173
+ $fmt = $tmp =~ /\xfe\xff/ ? 'n' : 'v';
4174
+ $fmt = uc($fmt) if $tmp =~ /\0\0/;
4175
+ $isXML = 1;
4176
+ }
4177
+ }
4162
4178
  } else {
4163
4179
  my ($type, $mime, $buf2, $buf3);
4164
4180
  # read information from XMP file
@@ -4516,7 +4532,7 @@ information.
4516
4532
 
4517
4533
  =head1 AUTHOR
4518
4534
 
4519
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
4535
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
4520
4536
 
4521
4537
  This library is free software; you can redistribute it and/or modify it
4522
4538
  under the same terms as Perl itself.
@@ -2228,7 +2228,7 @@ This file contains definitions for less common XMP namespaces.
2228
2228
 
2229
2229
  =head1 AUTHOR
2230
2230
 
2231
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
2231
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
2232
2232
 
2233
2233
  This library is free software; you can redistribute it and/or modify it
2234
2234
  under the same terms as Perl itself.
@@ -937,7 +937,7 @@ information.
937
937
 
938
938
  =head1 AUTHOR
939
939
 
940
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
940
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
941
941
 
942
942
  This library is free software; you can redistribute it and/or modify it
943
943
  under the same terms as Perl itself.
@@ -836,7 +836,7 @@ Electronic Publication (EPUB), and Sketch design files (SKETCH).
836
836
 
837
837
  =head1 AUTHOR
838
838
 
839
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
839
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
840
840
 
841
841
  This library is free software; you can redistribute it and/or modify it
842
842
  under the same terms as Perl itself.
@@ -220,7 +220,7 @@ metadata from Zeiss Integrated Software RAW (ZISRAW) CZI files.
220
220
 
221
221
  =head1 AUTHOR
222
222
 
223
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
223
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
224
224
 
225
225
  This library is free software; you can redistribute it and/or modify it
226
226
  under the same terms as Perl itself.
@@ -215,7 +215,7 @@ information from Apple iWork '09 XML+ZIP files.
215
215
 
216
216
  =head1 AUTHOR
217
217
 
218
- Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
218
+ Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
219
219
 
220
220
  This library is free software; you can redistribute it and/or modify it
221
221
  under the same terms as Perl itself.
@@ -8,7 +8,7 @@
8
8
  # Revisions: Nov. 12/2003 - P. Harvey Created
9
9
  # (See html/history.html for revision history)
10
10
  #
11
- # Legal: Copyright (c) 2003-2023, Phil Harvey (philharvey66 at gmail.com)
11
+ # Legal: Copyright (c) 2003-2024, Phil Harvey (philharvey66 at gmail.com)
12
12
  # This library is free software; you can redistribute it and/or
13
13
  # modify it under the same terms as Perl itself.
14
14
  #------------------------------------------------------------------------------
@@ -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.72';
32
+ $VERSION = '12.73';
33
33
  $RELEASE = '';
34
34
  @ISA = qw(Exporter);
35
35
  %EXPORT_TAGS = (
@@ -1111,6 +1111,7 @@ my @availableOptions = (
1111
1111
  [ 'ImageHashType', 'MD5', 'image hash algorithm' ],
1112
1112
  [ 'Lang', $defaultLang, 'localized language for descriptions etc' ],
1113
1113
  [ 'LargeFileSupport', undef, 'flag indicating support of 64-bit file offsets' ],
1114
+ [ 'LimitLongValues', 60, 'length limit for long values' ],
1114
1115
  [ 'List', undef, '[deprecated, use ListSplit and ListJoin instead]' ],
1115
1116
  [ 'ListItem', undef, 'used to return a specific item from lists' ],
1116
1117
  [ 'ListJoin', ', ', 'join lists together with this separator' ],
@@ -6317,6 +6318,20 @@ sub InverseFileName($$)
6317
6318
  return $val;
6318
6319
  }
6319
6320
 
6321
+ #------------------------------------------------------------------------------
6322
+ # Limit length of long values (to be used in PrintConv)
6323
+ # Inputs: 0) string value, 1) ExifTool ref
6324
+ # Returns: length-limited value
6325
+ sub LimitLongValues($$)
6326
+ {
6327
+ my ($str, $self) = @_;
6328
+ my $lim = $$self{OPTIONS}{LimitLongValues};
6329
+ if (length($str) > $lim and $lim >= 5) {
6330
+ $str = substr($str,0,$lim-5) . "[...]";
6331
+ }
6332
+ return $str;
6333
+ }
6334
+
6320
6335
  #------------------------------------------------------------------------------
6321
6336
  # Save information for HTML dump
6322
6337
  # Inputs: 0) ExifTool hash ref, 1) start offset, 2) data size
@@ -8428,7 +8443,7 @@ sub GetTagInfo($$$;$$$)
8428
8443
  $printConv = $$tagTablePtr{PRINT_CONV};
8429
8444
  } else {
8430
8445
  # limit length of printout (can be very long)
8431
- $printConv = 'length($val) > 60 ? substr($val,0,55) . "[...]" : $val';
8446
+ $printConv = \&LimitLongValues;
8432
8447
  }
8433
8448
  my $hex = sprintf("0x%.4x", $tagID);
8434
8449
  my $prefix = $$tagTablePtr{TAG_PREFIX};
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # URL: https://exiftool.org/
7
7
  #
8
- # Legal: Copyright (c) 2003-2023, Phil Harvey (philharvey66 at gmail.com)
8
+ # Legal: Copyright (c) 2003-2024, Phil Harvey (philharvey66 at gmail.com)
9
9
  # This library is free software; you can redistribute it and/or
10
10
  # modify it under the same terms as Perl itself.
11
11
  #------------------------------------------------------------------------------
@@ -822,6 +822,14 @@ set to undef to select the built-in default language. Default is 'en'.
822
822
  Flag to indicate that 64-bit file offsets are supported on this system.
823
823
  Default is undef.
824
824
 
825
+ =item LimitLongValues
826
+
827
+ When extracting some values that may be very long, the PrintConv values are
828
+ length-limited and the value is truncated with an elipsis ("[...]") if it
829
+ exceeds a specified length. This option specifies the length limit for
830
+ these tags. A setting of 4 or less disables the limit (because the elipsis
831
+ string is longer than this). Default is 60.
832
+
825
833
  =item ListItem
826
834
 
827
835
  Return only a specific item from list-type values. A value of 0 returns the
@@ -2881,7 +2889,7 @@ specified by the L</Charset> option.
2881
2889
 
2882
2890
  =head1 AUTHOR
2883
2891
 
2884
- Copyright 2003-2023, Phil Harvey
2892
+ Copyright 2003-2024, Phil Harvey
2885
2893
 
2886
2894
  This library is free software; you can redistribute it and/or modify it
2887
2895
  under the same terms as Perl itself.
@@ -1,6 +1,6 @@
1
1
  Summary: perl module for image data extraction
2
2
  Name: perl-Image-ExifTool
3
- Version: 12.72
3
+ Version: 12.73
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.72.0')
4
+ VERSION = Gem::Version.new('12.73.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.72.0
4
+ version: 12.73.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: 2023-12-30 00:00:00.000000000 Z
12
+ date: 2024-01-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: exiftool