JxrDecApp included in calibre fails for some images

Bug #1783359 reported by John Howell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

JPEG-XR is used in books delivered in KFX format by Amazon to e-ink Kindles.

The version of JxrDecApp included with calibre 3.28 (x64 Windows) fails to convert some JPEG-XR images.

The same images convert without error using a copy of JxrDecApp that I compiled years ago from the jxrlib 1.1 source using VS 11.

I am attaching a zip containing two sample images that fail and two that succeed, along with my version of JxrDecApp that works for all of these images.

JxrDecApp-working -i fail1.jxr -o image.bmp
Yields a bmp file with the content of the original image.

JxrDecApp-calibre -i fail1.jxr -o image.bmp
Prints the help screen and exits, leaving an empty bmp file.

Revision history for this message
John Howell (jhowell-o) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote :

Not sure what I can do about this. calibre must include only compiled from source components. The version of jxrlib bundled with calibre comes from https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/j/jxrlib/jxrlib_1.1.orig.tar.gz

If you have an updated source link, I will be happy to update the bundled version to use that.

Changed in calibre:
status: New → Incomplete
Revision history for this message
Eli Schwartz (eschwartz) wrote : Re: [Bug 1783359] Re: JxrDecApp included in calibre fails for some images

This file converts fine for me on Arch Linux.

FWIW we have a jxrlib 2.0 package, which comes from
https://github.com/glencoesoftware/jxrlib

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1783359

I can probably look into upgrading the bundled calibre version, assuming
building it is not too much of a headache.

Revision history for this message
Kovid Goyal (kovid) wrote :

I have updated the version of jxrlib bundled with calibre to 0.2.1
which is the latest available.

 status fixreleased

Changed in calibre:
status: Incomplete → Fix Released
Revision history for this message
John Howell (jhowell-o) wrote :

Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.