Xviewer is unable to display JPEG that use arithmetic encoding
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- computer-graphics, desktop
Research direction
Reproduce the failure with ImageMagick 6 and jpegtran using the commands in the report, then trace Xviewer’s image-opening path for the generated wizard_ar.jpg. Compare its behavior with the thumbnail generated by Nemo and the successful behavior in Gimp or ImageMagick. Done means Xviewer opens JPEG files using arithmetic encoding; Xreader is also reported as affected.
Written by the indexing model from the issue text.
Description
* 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
- Dominant language
- C
- Stars
- 92
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/xviewer
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in linuxmint/xviewer
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·