POV-Ray : Newsgroups : povray.general : Is it possible to reduce colour banding for JPG output? : Re: Is it possible to reduce colour banding for JPG output? Server Time: 24 Oct 2020 03:22:34 GMT
  Re: Is it possible to reduce colour banding for JPG output?  
From: Kima
Date: 6 Aug 2020 21:55:02
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 06/08/2020 à 04:40, Kima a écrit :
> >
> > There are two ways to reduce colour banding in POV-RAY
> >
> > 1. 16-bit depth to have a more accurate spectrum of colours.
> >
> > 2. Dither to fake the colour gradient.
> >
> > Unfortunately, neither of these methods is available if the output format is
> > JPG.
> >
> > If we output a PNG file with +TH, and then, convert it to JPG, the colour
> > banding disappears.
> >
> > I wonder why can't we directly save the same effect with JPG output.
> >
> >
>
> You could play with the "Compression" in ini file, to change from the
> default 85% quality.
>
> http://wiki.povray.org/content/Reference_Talk:File_Output_Options
>
> Try Compression=100 and see.
>
>
> About colour bands and other jpeg problem, it is an old story:
>
> https://www.povray.org/documentation/view/3.6.1/169/

Thanks for the link. I had not seen it before and learnt from it.

I actually use Compression=100, and the output is visually identical to PNG
(generally >90). The only problem is that colour banding, which is non-existent
in PNG output with +TH.


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.