Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xviewer is unable to display JPEG that use arithmetic encoding #188

Open
nhoudelot opened this issue Oct 14, 2023 · 0 comments
Open

Xviewer is unable to display JPEG that use arithmetic encoding #188

nhoudelot opened this issue Oct 14, 2023 · 0 comments

Comments

@nhoudelot
Copy link

 * Xviewer 3.4.1
 * Distribution - Mint 21.2

Issue
Xviewer is unable to display JPEG that use arithmetic encoding

Steps to reproduce
use imagemagick 6 & jpegtran to create such jpeg

$ convert wizard: wizard.jpg
$ jpegtran -arithmetic wizard.jpg > wizard_ar.jpg

double clic on wizard_ar.jpg, it doesn't open the image and give an error

Expected behaviour
opening the image and seeing it
interestingly, if you press F5 in nemo, the thumbnail will be generated

Other information

Gimp can open the image, imagemagick 6 can convert it (but not create one, it start at version 7)
it's a try & guess, depending of which jpeg library is used under the hood

Xreader is also affected.
for example, it can't read CBZ with such jpeg embedded

arithmetic encoding patents seems to have expired several years ago.
Initially it wasn't implemented by encoders and decoders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant