Fighting JPEG color banding
uploadcare.com
Fighting JPEG color banding
1–10 of 53 posts
Re: Fighting JPEG color banding
#2Re: Fighting JPEG color banding
#3just use PNG. JPEG sucks.
Re: Fighting JPEG color banding
#4It sounds like the employed solution only modifies first element from [16,17] to [10,16].
Re: Fighting JPEG color banding
#5just use PNG. JPEG sucks.
It's widely supported by vendors if you do not need to deal with IE: https://caniuse.com/?search=webp.
Re: Fighting JPEG color banding
#6Does this mean default quantization tables were badly picked after all? And someone only noticed after 30 years? It sounds like the employed solution only modifies first element from [16,17] to [10,16].
At least this problem was highlighted by Kornel, one of the mozjpeg author here: https://github.com/mozilla/mozjpeg/issues/76
> the employed solution only modifies first element from [16,17] to [10,16].
Correction: 16 and 17 are values from the base tables, which means this table is used with q=50. With q=25 it will be [32, 22, 24, 28, 24, 20, 32, 28…] (in zigzag order). The employed solution is to always limit the first value by 10 regardless of q: [10, 22, 24, 28, 24, 20, 32, 28…]
mozjpeg chosen the different approach: it still scales all values based on q, but has significantly changed the default base table. It helps, but doesn't eliminate color banding completely (you can still see it on the example from issues/76).
Re: Fighting JPEG color banding
#7Re: Fighting JPEG color banding
#8just use PNG. JPEG sucks.
Re: Fighting JPEG color banding
#9just use PNG. JPEG sucks.
Re: Fighting JPEG color banding
#10Edit: something like this https://www.imaging.org/site/PDFS/Papers/2003/PICS-0-287/849...
So from the older known ones there DCTune and DCTex methods, but it seems neither is available for download anywhere.