- Go to Settings → Load format settings… → Read.
- Set DCT to Floating.
- Set Dithering to None.
- Convert a JPEG to PNG.
- Repeat the conversion with Dithering = Ordered.
- Repeat the conversion with Dithering = Floyd-Steinberg.
[v1.104] JPEG decoding with dithering
Moderators: helmut, xnview
-
XnTriq
- Forum Librarian
- Posts: 6517
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
[v1.104] JPEG decoding with dithering
-
Xn User
- Posts: 236
- Joined: Sat Jan 05, 2019 1:16 pm
Re: [v1.104] JPEG decoding with dithering
Which method compression in JPEG file was be used ? This very need for report , I mean what 1x1 1x1 1x1 or 1x2 1x1 1x1 or 2x2 1x1 1x1 )
And test was be do with classic JPEG compression methods or JPEG LI compression methods ?
And test was be do with classic JPEG compression methods or JPEG LI compression methods ?
-
XnTriq
- Forum Librarian
- Posts: 6517
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: [v1.104] JPEG decoding with dithering
Encoder: libjpeg
Chroma subsampling: 4:2:0 (2×2,1×1,1×1)
Chroma subsampling: 4:2:0 (2×2,1×1,1×1)
You do not have the required permissions to view the files attached to this post.
-
xnview
- Author of XnView
- Posts: 46865
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: [v1.104] JPEG decoding with dithering
if i check the code of libjpeg, it seems that dithering is only used when quantize with colormapXnTriq wrote: Mon Mar 10, 2025 2:30 am testorig.jpg
Encoder: libjpeg
Chroma subsampling: 4:2:0 (2×2,1×1,1×1)
Pierre.
-
Xn User
- Posts: 236
- Joined: Sat Jan 05, 2019 1:16 pm
Re: [v1.104] JPEG decoding with dithering
Right , Dithering must be do use only for 1x2 1x1 1x1 or 2x1 1x1 1x1 or 2x2 1x1 1x1 , for 1x1 1x1 1x1 dithering not need use )
I also asked in JPEGLi https://github.com/libjxl/libjxl/issues/4146 , you can see what XnView MP and ACDSee Pro 5.0 with IDE_ACDstd 5.0.56.0000 reading file with differ , in result XnView MP with Floyd-Steinberg colors a little rude if compare with ACDSee Pro , I see rude gradients
I also asked in JPEGLi https://github.com/libjxl/libjxl/issues/4146 , you can see what XnView MP and ACDSee Pro 5.0 with IDE_ACDstd 5.0.56.0000 reading file with differ , in result XnView MP with Floyd-Steinberg colors a little rude if compare with ACDSee Pro , I see rude gradients
-
Xn User
- Posts: 236
- Joined: Sat Jan 05, 2019 1:16 pm
Re: [v1.104] JPEG decoding with dithering
Please , add all this algorithms https://surma.dev/things/ditherpunk/ and will be learn which is better
In the end will better if this algoritms will be apply optionaly to all lossy or images with less colors
this for testing methods of dithering https://surma.dev/lab/ditherpunk/lab.html
In the end will better if this algoritms will be apply optionaly to all lossy or images with less colors
this for testing methods of dithering https://surma.dev/lab/ditherpunk/lab.html
-
XnTriq
- Forum Librarian
- Posts: 6517
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk