Subject: | image_info fails with certain jpegs |
Date: | Thu, 30 Jan 2020 14:40:39 +0100 |
To: | bug-Image-Info [...] rt.cpan.org |
From: | Matthias Zeichmann <matthias.zeichmann [...] geizhals.at> |
calls to image_info() on the attached file fail with
---------------->8-------------------------
$ perl -MImage::Info=image_info -E 'warn
image_info("loeffler.jpg")->{error}; say "\nImage::Info version: ".
Image::Info->VERSION; say "Perl version: $]"'
'x' outside of string in unpack at
/opt/gh/perl-current-live/local-default/lib/perl5/Image/TIFF.pm line 853.
Image::Info version: 1.42
Perl version: 5.030001
$ uname -a
Linux mtths.ghwb 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5
(2017-09-19) x86_64 GNU/Linux
$
---------------->8-------------------------
the fault lies somewhere in the extra markers, when stripping those
(e.g. with "jpegtran -copy comments loeffler.jpg > stripped.jpg") the
file is processed correctly
cheers matthias
Message body is not shown because sender requested not to inline it.