exiftool_vendored 13.16.0 → 13.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2569,44 +2569,44 @@ Canon, CanonCustom, CanonDR4, CanonRaw, CanonVRD, Casio, CBOR, Chapter#,
2569
2569
  CIFF, Composite, DICOM, DJI, DjVu, DjVu-Meta, DNG, Ducky, DV, EPPIM, EXE,
2570
2570
  EXIF, ExifIFD, ExifTool, File, FITS, FLAC, Flash, FlashPix, FLIR, Font,
2571
2571
  FotoStation, FujiFilm, FujiIFD, Garmin, GE, GeoTiff, GIF, GIMP,
2572
- GlobParamIFD, GM, GoPro, GPS, GraphConv, GSpherical, H264, HP, HTC, HTML,
2573
- HTML-dc, HTML-ncc, HTML-office, HTML-prod, HTML-vw96, HTTP-equiv, ICC-chrm,
2574
- ICC-cicp, ICC-clrt, ICC-header, ICC-meas, ICC-meta, ICC-view, ICC_Profile,
2575
- ICC_Profile#, ID3, ID3v1, ID3v1_Enh, ID3v2_2, ID3v2_3, ID3v2_4, IFD0, IFD1,
2576
- InfiRay, Insta360, InteropIFD, IPTC, IPTC#, ISO, ITC, ItemList, iTunes,
2577
- JFIF, JFXX, JPEG, JPEG-HDR, Jpeg2000, JPS, JSON, JUMBF, JVC, KDC_IFD, Keys,
2578
- Kodak, KodakBordersIFD, KodakEffectsIFD, KodakIFD, KyoceraRaw, Leaf,
2579
- LeafSubIFD, Leica, LNK, Lyrics3, Lytro, M-RAW, M2TS, MAC, MacOS, MakerNotes,
2580
- MakerUnknown, Matroska, MediaJukebox, Meta, MetaIFD, Microsoft, MIE-Audio,
2581
- MIE-Camera, MIE-Canon, MIE-Doc, MIE-Extender, MIE-Flash, MIE-Geo, MIE-GPS,
2582
- MIE-Image, MIE-Lens, MIE-Main, MIE-MakerNotes, MIE-Meta, MIE-Orient,
2583
- MIE-Preview, MIE-Thumbnail, MIE-Unknown, MIE-UTM, MIE-Video, MIFF, Minolta,
2584
- MinoltaRaw, MISB, MNG, MOBI, MOI, Motorola, MPC, MPEG, MPF0, MPImage,
2585
- MS-DOC, MXF, Nextbase, Nikon, NikonCapture, NikonCustom, NikonScan,
2586
- NikonSettings, NineEdits, Nintendo, NITF, Ocad, Ogg, Olympus, OpenEXR, Opus,
2587
- Palm, Panasonic, PanasonicRaw, Parrot, PDF, Pentax, PhaseOne, PhotoCD,
2588
- PhotoMechanic, Photoshop, PICT, PictureInfo, PNG, PNG-cICP, PNG-pHYs,
2589
- PostScript, PreviewIFD, PrintIM, ProfileIFD, PSP, Qualcomm, QuickTime,
2590
- Radiance, RAF, RAF2, Rawzor, Real, Real-CONT, Real-MDPR, Real-PROP,
2591
- Real-RA3, Real-RA4, Real-RA5, Real-RJMD, Reconyx, Red, Ricoh, RIFF, RMETA,
2592
- RSRC, RTF, Samsung, Sanyo, Scalado, SEAL, Sigma, SigmaRaw, Sony, SonyIDC,
2593
- SPIFF, SR2, SR2DataIFD, SR2SubIFD, SRF#, Stim, SubIFD, SVG, System, Theora,
2594
- Torrent, Track#, Track#ItemList, Track#Keys, Track#UserData, UserData,
2595
- VCalendar, VCard, Version0, VideoItemList, VideoKeys, VideoUserData, Vivo,
2596
- VNote, Vorbis, WTV, XML, XMP, XMP-aas, XMP-acdsee, XMP-acdsee-rs, XMP-album,
2597
- XMP-apdi, XMP-apple-fi, XMP-ast, XMP-aux, XMP-cc, XMP-cell, XMP-crd,
2598
- XMP-creatorAtom, XMP-crs, XMP-dc, XMP-Device, XMP-dex, XMP-DICOM,
2599
- XMP-digiKam, XMP-drone-dji, XMP-dwc, XMP-et, XMP-exif, XMP-exifEX,
2600
- XMP-expressionmedia, XMP-extensis, XMP-fpv, XMP-GAudio, XMP-GCamera,
2601
- XMP-GContainer, XMP-GCreations, XMP-GDepth, XMP-getty, XMP-GFocus,
2602
- XMP-GImage, XMP-GPano, XMP-GSpherical, XMP-hdr, XMP-HDRGainMap, XMP-hdrgm,
2603
- XMP-ics, XMP-iptcCore, XMP-iptcExt, XMP-LImage, XMP-lr, XMP-mediapro,
2604
- XMP-microsoft, XMP-MP, XMP-MP1, XMP-mwg-coll, XMP-mwg-kw, XMP-mwg-rs,
2605
- XMP-nine, XMP-panorama, XMP-pdf, XMP-pdfx, XMP-photomech, XMP-photoshop,
2606
- XMP-PixelLive, XMP-plus, XMP-pmi, XMP-prism, XMP-prl, XMP-prm, XMP-pur,
2607
- XMP-rdf, XMP-sdc, XMP-seal, XMP-swf, XMP-tiff, XMP-x, XMP-xmp, XMP-xmpBJ,
2608
- XMP-xmpDM, XMP-xmpDSA, XMP-xmpMM, XMP-xmpNote, XMP-xmpPLUS, XMP-xmpRights,
2609
- XMP-xmpTPg, ZIP
2572
+ GlobParamIFD, GM, Google, GoPro, GPS, GraphConv, GSpherical, H264, HP, HTC,
2573
+ HTML, HTML-dc, HTML-ncc, HTML-office, HTML-prod, HTML-vw96, HTTP-equiv,
2574
+ ICC-chrm, ICC-cicp, ICC-clrt, ICC-header, ICC-meas, ICC-meta, ICC-view,
2575
+ ICC_Profile, ICC_Profile#, ID3, ID3v1, ID3v1_Enh, ID3v2_2, ID3v2_3, ID3v2_4,
2576
+ IFD0, IFD1, InfiRay, Insta360, InteropIFD, IPTC, IPTC#, ISO, ITC, ItemList,
2577
+ iTunes, JFIF, JFXX, JPEG, JPEG-HDR, Jpeg2000, JPS, JSON, JUMBF, JVC,
2578
+ KDC_IFD, Keys, Kodak, KodakBordersIFD, KodakEffectsIFD, KodakIFD,
2579
+ KyoceraRaw, Leaf, LeafSubIFD, Leica, LNK, Lyrics3, Lytro, M-RAW, M2TS, MAC,
2580
+ MacOS, MakerNotes, MakerUnknown, Matroska, MediaJukebox, Meta, MetaIFD,
2581
+ Microsoft, MIE-Audio, MIE-Camera, MIE-Canon, MIE-Doc, MIE-Extender,
2582
+ MIE-Flash, MIE-Geo, MIE-GPS, MIE-Image, MIE-Lens, MIE-Main, MIE-MakerNotes,
2583
+ MIE-Meta, MIE-Orient, MIE-Preview, MIE-Thumbnail, MIE-Unknown, MIE-UTM,
2584
+ MIE-Video, MIFF, Minolta, MinoltaRaw, MISB, MNG, MOBI, MOI, Motorola, MPC,
2585
+ MPEG, MPF0, MPImage, MS-DOC, MXF, Nextbase, Nikon, NikonCapture,
2586
+ NikonCustom, NikonScan, NikonSettings, NineEdits, Nintendo, NITF, Ocad, Ogg,
2587
+ Olympus, OnePlus, OpenEXR, Opus, Palm, Panasonic, PanasonicRaw, Parrot, PDF,
2588
+ Pentax, PhaseOne, PhotoCD, PhotoMechanic, Photoshop, PICT, PictureInfo, PNG,
2589
+ PNG-cICP, PNG-pHYs, PostScript, PreviewIFD, PrintIM, ProfileIFD, PSP,
2590
+ Qualcomm, QuickTime, Radiance, RAF, RAF2, Rawzor, Real, Real-CONT,
2591
+ Real-MDPR, Real-PROP, Real-RA3, Real-RA4, Real-RA5, Real-RJMD, Reconyx, Red,
2592
+ Ricoh, RIFF, RMETA, RSRC, RTF, Samsung, Sanyo, Scalado, SEAL, Sigma,
2593
+ SigmaRaw, Sony, SonyIDC, SPIFF, SR2, SR2DataIFD, SR2SubIFD, SRF#, Stim,
2594
+ SubIFD, SVG, System, Theora, Torrent, Track#, Track#ItemList, Track#Keys,
2595
+ Track#UserData, UserData, VCalendar, VCard, Version0, VideoItemList,
2596
+ VideoKeys, VideoUserData, Vivo, VNote, Vorbis, WTV, XML, XMP, XMP-aas,
2597
+ XMP-acdsee, XMP-acdsee-rs, XMP-album, XMP-apdi, XMP-apple-fi, XMP-ast,
2598
+ XMP-aux, XMP-cc, XMP-cell, XMP-crd, XMP-creatorAtom, XMP-crs, XMP-dc,
2599
+ XMP-Device, XMP-dex, XMP-DICOM, XMP-digiKam, XMP-drone-dji, XMP-dwc, XMP-et,
2600
+ XMP-exif, XMP-exifEX, XMP-expressionmedia, XMP-extensis, XMP-fpv,
2601
+ XMP-GAudio, XMP-GCamera, XMP-GContainer, XMP-GCreations, XMP-GDepth,
2602
+ XMP-getty, XMP-GFocus, XMP-GImage, XMP-GPano, XMP-GSpherical, XMP-hdr,
2603
+ XMP-HDRGainMap, XMP-hdrgm, XMP-ics, XMP-iptcCore, XMP-iptcExt, XMP-LImage,
2604
+ XMP-lr, XMP-mediapro, XMP-microsoft, XMP-MP, XMP-MP1, XMP-mwg-coll,
2605
+ XMP-mwg-kw, XMP-mwg-rs, XMP-nine, XMP-panorama, XMP-pdf, XMP-pdfx,
2606
+ XMP-photomech, XMP-photoshop, XMP-PixelLive, XMP-plus, XMP-pmi, XMP-prism,
2607
+ XMP-prl, XMP-prm, XMP-pur, XMP-rdf, XMP-sdc, XMP-seal, XMP-swf, XMP-tiff,
2608
+ XMP-x, XMP-xmp, XMP-xmpBJ, XMP-xmpDM, XMP-xmpDSA, XMP-xmpMM, XMP-xmpNote,
2609
+ XMP-xmpPLUS, XMP-xmpRights, XMP-xmpTPg, ZIP
2610
2610
 
2611
2611
  =item Family 2 (Category):
2612
2612
 
@@ -1,6 +1,6 @@
1
1
  Summary: perl module for image data extraction
2
2
  Name: perl-Image-ExifTool
3
- Version: 13.16
3
+ Version: 13.17
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('13.16.0')
4
+ VERSION = Gem::Version.new('13.17.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: 13.16.0
4
+ version: 13.17.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: 2025-01-25 00:00:00.000000000 Z
12
+ date: 2025-01-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: exiftool
@@ -288,10 +288,10 @@ files:
288
288
  - bin/lib/Image/ExifTool/Text.pm
289
289
  - bin/lib/Image/ExifTool/Theora.pm
290
290
  - bin/lib/Image/ExifTool/Torrent.pm
291
+ - bin/lib/Image/ExifTool/Trailer.pm
291
292
  - bin/lib/Image/ExifTool/Unknown.pm
292
293
  - bin/lib/Image/ExifTool/VCard.pm
293
294
  - bin/lib/Image/ExifTool/Validate.pm
294
- - bin/lib/Image/ExifTool/Vivo.pm
295
295
  - bin/lib/Image/ExifTool/Vorbis.pm
296
296
  - bin/lib/Image/ExifTool/WPG.pm
297
297
  - bin/lib/Image/ExifTool/WTV.pm
@@ -1,124 +0,0 @@
1
- #------------------------------------------------------------------------------
2
- # File: Vivo.pm
3
- #
4
- # Description: Read trailer written by Vivo phones
5
- #
6
- # Revisions: 2025-01-13 - P. Harvey Created
7
- #------------------------------------------------------------------------------
8
-
9
- package Image::ExifTool::Vivo;
10
-
11
- use strict;
12
- use vars qw($VERSION);
13
- use Image::ExifTool qw(:DataAccess :Utils);
14
- use Image::ExifTool::XMP;
15
-
16
- $VERSION = '1.00';
17
-
18
- %Image::ExifTool::Vivo::Main = (
19
- GROUPS => { 0 => 'Trailer', 1 => 'Vivo', 2 => 'Image' },
20
- VARS => { NO_ID => 1 },
21
- NOTES => 'Proprietary information written by some Vivo phones.',
22
- # (don't know for sure what type of image this is, but it is in JPEG format)
23
- HDRImage => {
24
- Notes => 'highlights of HDR image',
25
- Groups => { 2 => 'Preview' },
26
- Binary => 1,
27
- },
28
- JSONInfo => { },
29
- HiddenData => {
30
- Notes => 'hidden in EXIF, not in trailer. This data is lost if the file is edited',
31
- Groups => { 0 => 'EXIF' },
32
- },
33
- );
34
-
35
- #------------------------------------------------------------------------------
36
- # Process Vivo trailer
37
- # Inputs: 0) ExifTool object reference, 1) dirInfo reference
38
- # Returns: 1 on success, -1 if we must scan for the start of the trailer
39
- # - takes Offset as positive offset from end of trailer to end of file,
40
- # and returns DataPos and DirLen, and updates OutFile when writing
41
- sub ProcessVivo($$)
42
- {
43
- my ($et, $dirInfo) = @_;
44
- my $raf = $$dirInfo{RAF};
45
- my $buff;
46
-
47
- # return now unless we are at a position to scan for the trailer
48
- # (must scan because the trailer footer doesn't indicate the trailer length)
49
- return -1 unless $$dirInfo{ScanForTrailer};
50
-
51
- my $pos = $raf->Tell();
52
- $raf->Seek(0, 2) or return 0;
53
- my $len = $raf->Tell() - $pos - $$dirInfo{Offset};
54
- $raf->Seek($pos, 0) or return 0;
55
- return 0 unless $len > 0 and $len < 1e7 and $raf->Read($buff, $len) == $len and
56
- $buff =~ /\xff{4}\x1b\*9HWfu\x84\x93\xa2\xb1$/ and # validate footer
57
- $buff =~ /(streamdata|vivo\{")/g; # find start
58
- my $start = pos($buff) - length($1);
59
- if ($start) {
60
- $pos += $start;
61
- $len -= $start;
62
- $buff = substr($buff, $start);
63
- }
64
- # set trailer position and length
65
- @$dirInfo{'DataPos','DirLen'} = ($pos, $len);
66
-
67
- if ($$dirInfo{OutFile}) {
68
- if ($$et{DEL_GROUP}{Vivo}) {
69
- $et->VPrint(0, " Deleting Vivo trailer ($len bytes)\n");
70
- ++$$et{CHANGED};
71
- } else {
72
- $et->VPrint(0, " Copying Vivo trailer ($len bytes)\n");
73
- Write($$dirInfo{OutFile}, $buff);
74
- }
75
- } else {
76
- $et->DumpTrailer($dirInfo) if $$et{OPTIONS}{Verbose} or $$et{HTML_DUMP};
77
- my $tbl = GetTagTable('Image::ExifTool::Vivo::Main');
78
- pos($buff) = 0; # rewind search to start of buffer
79
- if ($buff =~ /^streamdata\xff\xd8\xff/ and $buff =~ /\xff\xd9stream(info|coun)/g) {
80
- $et->HandleTag($tbl, HDRImage => substr($buff, 10, pos($buff)-20));
81
- }
82
- # continue looking for Vivo JSON data
83
- if ($buff =~ /vivo\{"/g) {
84
- my $jsonStart = pos($buff) - 2;
85
- if ($buff =~ /\}\0/g) {
86
- my $jsonLen = pos($buff) - 1 - $jsonStart;
87
- $et->HandleTag($tbl, JSONInfo => substr($buff, $jsonStart, $jsonLen));
88
- }
89
- }
90
- }
91
- return 1;
92
- }
93
-
94
- 1; # end
95
-
96
- __END__
97
-
98
- =head1 NAME
99
-
100
- Image::ExifTool::Vivo - Read trailer written by Vivo phones
101
-
102
- =head1 SYNOPSIS
103
-
104
- This module is used by Image::ExifTool
105
-
106
- =head1 DESCRIPTION
107
-
108
- This module contains definitions required by Image::ExifTool to read
109
- metadata the trailer written by some Vivo phones.
110
-
111
- =head1 AUTHOR
112
-
113
- Copyright 2003-2025, Phil Harvey (philharvey66 at gmail.com)
114
-
115
- This library is free software; you can redistribute it and/or modify it
116
- under the same terms as Perl itself.
117
-
118
- =head1 SEE ALSO
119
-
120
- L<Image::ExifTool::TagNames/Vivo Tags>,
121
- L<Image::ExifTool(3pm)|Image::ExifTool>
122
-
123
- =cut
124
-