summaryrefslogtreecommitdiff
path: root/lib/Image/ExifTool/Jpeg2000.pm
diff options
context:
space:
mode:
authorexiftool <exiftool@users.sourceforge.net>2023-06-28 11:43:51 -0400
committerexiftool <exiftool@users.sourceforge.net>2023-06-28 11:43:51 -0400
commitd35e9e26e0a8b443dae307f55d0a4a067d311a16 (patch)
tree4f03cb7405c42d44da066ee07100f9c899299322 /lib/Image/ExifTool/Jpeg2000.pm
parentadc7447eae4d896541bbba3777686771828e9075 (diff)
Update to 12.64
Diffstat (limited to 'lib/Image/ExifTool/Jpeg2000.pm')
-rw-r--r--lib/Image/ExifTool/Jpeg2000.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Image/ExifTool/Jpeg2000.pm b/lib/Image/ExifTool/Jpeg2000.pm
index 8b5a8c93..af0a1a72 100644
--- a/lib/Image/ExifTool/Jpeg2000.pm
+++ b/lib/Image/ExifTool/Jpeg2000.pm
@@ -16,7 +16,7 @@ use strict;
use vars qw($VERSION);
use Image::ExifTool qw(:DataAccess :Utils);
-$VERSION = '1.35';
+$VERSION = '1.36';
sub ProcessJpeg2000Box($$$);
sub ProcessJUMD($$$);
@@ -132,7 +132,7 @@ my %j2cMarker = (
images, but not all of these are extracted. Note that ExifTool currently
writes only EXIF, IPTC and XMP tags in Jpeg2000 images, and EXIF and XMP in
JXL images. ExifTool will read/write Brotli-compressed EXIF and XMP in JXL
- images, but the API Compress option must be set to create new EXIF and XMP
+ images, but the API L<Compress|../ExifTool.html#Compress> option must be set to create new EXIF and XMP
in compressed format.
},
#
@@ -1429,7 +1429,8 @@ sub ProcessJXLCodestream($$)
return 0 unless $$dataPt =~ /^(\0\0\0\0)?\xff\x0a/; # validate codestream
# ignore if already extracted (ie. subsequent jxlp boxes)
- return 0 if $$et{VALUE}{ImageWidth};
+ return 0 if $$et{ProcessedJXLCodestream};
+ $$et{ProcessedJXLCodestream} = 1;
# work with first 64 bytes of codestream data
# (and add padding if necessary to avoid unpacking past end of data)
my $dat;