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
- Contact:
-
- Posts: 53
- Joined: Tue Nov 15, 2005 9:25 am
- Contact:
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.
-
- Posts: 53
- Joined: Tue Nov 15, 2005 9:25 am
- Contact:
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.
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
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.
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.