It seems that XnViewMP is not able to decoded JPEG files that use arithmetic encoding as opposite of Huffman. Since it is using libjpeg-turbo, it should be as easy as compiling with the define D_ARITH_CODING_SUPPORTED.
Is there any chance it would be added in future builds?
Thanks.
Arithmetic decoding disabled in libjpeg-turbo
Moderators: XnTriq, helmut, xnview
-
- Posts: 53
- Joined: Tue Nov 15, 2005 9:25 am
-
- Author of XnView
- Posts: 44583
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 53
- Joined: Tue Nov 15, 2005 9:25 am
Re: Arithmetic decoding disabled in libjpeg-turbo
Sure!
Find attached some requested samples, nevertheless, you can always use jpegtran -aritmetic in order to convert a regular Huffman JPEG to Aritmetic, or jpegtran -optimize to do the oposite.
For your information, GIMP is able to view and edit arithmetic JPEG images with no problems too.
Find attached some requested samples, nevertheless, you can always use jpegtran -aritmetic in order to convert a regular Huffman JPEG to Aritmetic, or jpegtran -optimize to do the oposite.
For your information, GIMP is able to view and edit arithmetic JPEG images with no problems too.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 53
- Joined: Tue Nov 15, 2005 9:25 am
Re: Arithmetic decoding disabled in libjpeg-turbo
Hello Pierre,
Were the samples I provided enought for you?
Do you want some more?
Thanks.
Were the samples I provided enought for you?
Do you want some more?
Thanks.
-
- Author of XnView
- Posts: 44583
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Moderator & Librarian
- Posts: 6374
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Arithmetic decoding disabled in libjpeg-turbo
Tested successfully with the samples provided by jgutierrezxnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=108883#p108883]XnView MP 0.53 (windows only)[/url]) wrote:* JPEG arithmetic decoding support - http://newsgroup.xnview.com/viewtopic.p ... 7&p=105449
-
- Posts: 96
- Joined: Tue Apr 14, 2009 8:50 am
Re: Arithmetic decoding disabled in libjpeg-turbo
I've just read two other related topics (Cant view lossless jpg and JPEG v9.1 now supports 12-bit color and lossless compression) and I wonder if JPEG arithmetic decoding is implemented in XnView Classic? As for XnView 2.35, it seems not to support arithmetic-encoded images.
-
- Moderator & Librarian
- Posts: 6374
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Arithmetic decoding disabled in libjpeg-turbo
I just did a quick test with an arithmetic coded JPEG saved by Jpegcrop (2015.12 / IJG JPEG 9b). XnView MP v0.83 is able to open the file, but Classic v2.39 can't.dma_k wrote:[…] and I wonder if JPEG arithmetic decoding is implemented in XnView Classic? As for XnView 2.35, it seems not to support arithmetic-encoded images.