exiftool_vendored 12.75.0 → 12.76.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dda9b74fae35f2dc1e3675ee735a6ef747654f5ab0e92b4ceb64c6dca7d95c1
4
- data.tar.gz: c6154176d70ab63db1d4c65a2e872a8c727d1545fccc2bf4197998faa295dc7f
3
+ metadata.gz: 7acf0f7d008e3a9b01730fbe29d0c0fa4019e40bab81347a6f28600afa11a0ad
4
+ data.tar.gz: adbae416142dd2f73e5184b29552400f2862bb8e6310b3e6bdb3b6cfe10f5a25
5
5
  SHA512:
6
- metadata.gz: e0f3e4fcc88c78448d07f09d73e2e36b025accb4a85d2b425a9eb537c9fabd7792cc2525f41928b82f9688a33ceef08da4996a515bc87258347484e93e93fdec
7
- data.tar.gz: 48b0871192b51764f64cdcbb3b69b0f10f752223a68d60a8f364e984542328a339618f49dce5716af91ba13afbfad06cd93e99a1e7fc1f1220b2752f71ab887f
6
+ metadata.gz: 667df77a43ef7d665315ce5da38775d5d9027099e507dda712da9c4099fcbaf372ef5364bffddc91323f18072ab31c408077ee7f57e52d7eff2b674c6d62dcf1
7
+ data.tar.gz: ccc0c4439a7f155acdada214d73944361e9ffffae98959860fcac18a034547d6ccd3f4d63e79c93b291051f0ca7ab14dbdc0c180acb16eae9f18da47a3bc390f
data/bin/Changes CHANGED
@@ -4,14 +4,21 @@ ExifTool Version History
4
4
 
5
5
  RSS feed: https://exiftool.org/rss.xml
6
6
 
7
- Note: The most recent production release is Version 12.75. (Other versions are
7
+ Note: The most recent production release is Version 12.76. (Other versions are
8
8
  considered development releases, and are not uploaded to MetaCPAN.)
9
9
 
10
+ Jan. 31, 2024 - Version 12.76 (production release)
11
+
12
+ - Properly implement patch of 12.45 to avoid duplicating raw data when writing
13
+ Sony ARW images where the raw data is double-referenced as both strips and
14
+ tiles
15
+ - Improved handling of bad offsets in HtmlDump output
16
+
10
17
  Jan. 30, 2024 - Version 12.75 (production release)
11
18
 
12
19
  - CORRUPTION WARNING: Fixed bug introduced in 12.45 which could result in
13
- corrupted Sony ARW images from some newer models when writing if lossless
14
- compression was used
20
+ corrupted Sony ARW images from some newer models when rewriting lossless
21
+ compressed ARW images which were previously edited by 12.44 or earlier
15
22
  - Added ability to read C2PA JUMBF metadata from PDF and SVG files
16
23
  - Added ability to extract JUMBF metadata as a block
17
24
  - Added read support for C2PA (JUMBF-format) files
data/bin/META.json CHANGED
@@ -50,5 +50,5 @@
50
50
  }
51
51
  },
52
52
  "release_status" : "stable",
53
- "version" : "12.75"
53
+ "version" : "12.76"
54
54
  }
data/bin/META.yml CHANGED
@@ -31,4 +31,4 @@ recommends:
31
31
  Time::HiRes: 0
32
32
  requires:
33
33
  perl: 5.004
34
- version: 12.75
34
+ version: 12.76
data/bin/README CHANGED
@@ -109,8 +109,8 @@ your home directory, then you would type the following commands in a
109
109
  terminal window to extract and run ExifTool:
110
110
 
111
111
  cd ~/Desktop
112
- gzip -dc Image-ExifTool-12.75.tar.gz | tar -xf -
113
- cd Image-ExifTool-12.75
112
+ gzip -dc Image-ExifTool-12.76.tar.gz | tar -xf -
113
+ cd Image-ExifTool-12.76
114
114
  ./exiftool t/images/ExifTool.jpg
115
115
 
116
116
  Note: These commands extract meta information from one of the test images.
data/bin/exiftool CHANGED
@@ -11,7 +11,7 @@ use strict;
11
11
  use warnings;
12
12
  require 5.004;
13
13
 
14
- my $version = '12.75';
14
+ my $version = '12.76';
15
15
 
16
16
  # add our 'lib' directory to the include list BEFORE 'use Image::ExifTool'
17
17
  my $exePath;
@@ -5605,7 +5605,7 @@ with this command:
5605
5605
 
5606
5606
  produces output like this:
5607
5607
 
5608
- -- Generated by ExifTool 12.75 --
5608
+ -- Generated by ExifTool 12.76 --
5609
5609
  File: a.jpg - 2003:10:31 15:44:19
5610
5610
  (f/5.6, 1/60s, ISO 100)
5611
5611
  File: b.jpg - 2006:05:23 11:57:38
@@ -13,7 +13,7 @@ use vars qw($VERSION);
13
13
  use Image::ExifTool; # only for FinishTiffDump()
14
14
  use Image::ExifTool::HTML qw(EscapeHTML);
15
15
 
16
- $VERSION = '1.40';
16
+ $VERSION = '1.41';
17
17
 
18
18
  sub DumpTable($$$;$$$$$$);
19
19
  sub Open($$$;@);
@@ -314,6 +314,8 @@ sub Print($$;$$$$$)
314
314
  $title = 'HtmlDump' unless $title;
315
315
  $level or $level = 0;
316
316
  my $tell = $raf->Tell();
317
+ $raf->Seek(0,2) or $$self{ERROR} = 'Seek error', return -1;
318
+ my $fileLen = $raf->Tell();
317
319
  my $pos = 0;
318
320
  my $dataEnd = $dataPos + ($dataPt ? length($$dataPt) : 0);
319
321
  # initialize member variables
@@ -352,6 +354,7 @@ sub Print($$;$$$$$)
352
354
  } else {
353
355
  last;
354
356
  }
357
+ $start = $fileLen if $start > $fileLen; # handle case of bad start offset
355
358
  my $len = $start - $pos;
356
359
  if ($len > 0 and not $wasUnused) {
357
360
  # we have a unused bytes before this data block
@@ -432,8 +435,7 @@ sub Print($$;$$$$$)
432
435
  {
433
436
  $err = $msg;
434
437
  # reset $len to the actual length of available data
435
- $raf->Seek(0, 2);
436
- $len = $raf->Tell() - $start;
438
+ $len = $fileLen - $start;
437
439
  $tip .= "<br>Error: Only $len bytes available!" if $tip;
438
440
  next;
439
441
  }
@@ -2278,7 +2278,7 @@ NoOverwrite: next if $isNew > 0;
2278
2278
  $$offsetInfo{0x111}[2]==1) # (must be a single strip or the tile offsets could get out of sync)
2279
2279
  {
2280
2280
  # check the start offsets to see if they are the same
2281
- if ($$offsetInfo{0x111}[3] == $$offsetInfo{0x144}[3]) {
2281
+ if ($$offsetInfo{0x111}[3][0] == $$offsetInfo{0x144}[3][0]) {
2282
2282
  # some Sony ARW images contain double-referenced raw data stored as both strips
2283
2283
  # and tiles. Copy the data using only the strip tags, but store the TileOffets
2284
2284
  # information for updating later (see PanasonicRaw:PatchRawDataOffset for a
@@ -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.75';
32
+ $VERSION = '12.76';
33
33
  $RELEASE = '';
34
34
  @ISA = qw(Exporter);
35
35
  %EXPORT_TAGS = (
@@ -1,6 +1,6 @@
1
1
  Summary: perl module for image data extraction
2
2
  Name: perl-Image-ExifTool
3
- Version: 12.75
3
+ Version: 12.76
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.75.0')
4
+ VERSION = Gem::Version.new('12.76.1')
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.75.0
4
+ version: 12.76.1
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-01-31 00:00:00.000000000 Z
12
+ date: 2024-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: exiftool