ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: paolobenve on August 14, 2024, 01:16:05 PM

Title: bug with jxl image
Post by: paolobenve on August 14, 2024, 01:16:05 PM
$ exiftool /var/www/html/prova-dev/cache/_cache_images/7/fox_profile0_8bpc_yuv420_avif-800.jxl
Undefined subroutine Image::ExifTool::ProcessJUMB called at /usr/share/perl5/Image/ExifTool.pm line 5057


Title: Re: bug with jxl image
Post by: StarGeek on August 14, 2024, 02:11:53 PM
What version of exiftool are you using?

Edit: Verified that this error occurs with the current version. I also with a few older versions, the oldest being 12.70, and the error still occurs.
Title: Re: bug with jxl image
Post by: paolobenve on August 14, 2024, 02:53:23 PM
ExifTool Version Number         : 12.76
Title: Re: bug with jxl image
Post by: Phil Harvey on August 16, 2024, 10:43:02 AM
Thanks.  This is the problem line in the current code:

            Image::ExifTool::ProcessJUMB($et, \%dirInfo, $tagTablePtr); # (untested)
As you can see, I haven't had a sample to test this code path yet.  The current problem is easily fixed:

            Image::ExifTool::Jpeg2000::ProcessJUMB($et, \%dirInfo, $tagTablePtr); # (untested)
But I'll still call this untested because your sample doesn't contain valid JUMB metadata as far as I can tell.

- Phil
Title: Re: bug with jxl image
Post by: paolobenve on August 19, 2024, 09:39:28 AM
>  Image::ExifTool::Jpeg2000::ProcessJUMB($et, \%dirInfo, $tagTablePtr); # (untested)

the image is jpegxl, no jpeg2000
Title: Re: bug with jxl image
Post by: Phil Harvey on August 19, 2024, 11:54:31 AM
JXL uses the same container format as Jpeg2000, so it is processed by the ExifTool Jpeg2000 module.

- Phil