POV-Ray : Newsgroups : povray.general : Selective Palette for Output : Re: Selective Palette for Output Server Time
8 Aug 2024 01:19:52 EDT (-0400)
  Re: Selective Palette for Output  
From: Scott Hill
Date: 10 Apr 2001 11:15:47
Message: <3ad323a3@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3ACC6A67.D95AE3E3@gmx.de...
>
>
> Reuben Pearse wrote:
> >
> > Hi all,
> >
> > I was wondering if it is possible to get POVRay to generate an image
using a
> > certain palette for colours (e.g. like the safe palette of 216 colours
> > sometimes used for GIF images).
> >
>
> Povray does not support generation of 8 or 4 bit indexed color image
> files.  You have to use a seperate program to do conversion.
>


    And you'll get much better results that way any how ! Basically, if you
have POV outputting 24bpp images then any decent image manipulation tool
will reduce that down to 8bit with very little loss of quality - how ? Error
diffusion, that's how - rather than just take a pixel, reduce it to 8bit and
then forget about it, error diffusion looks at how much error their is in
the 8-bit pixel compared to the 24-bit original and distributes this error
to neighbouring pixels - so the inaccuracies of the 24bit->8bit conversion
get smoothed out.

--
Scott Hill
Software Engineer.
NC Graphics (Cambridge) Ltd.
Web : http://www.ncgraphics.co.uk
E-mail : sco### [at] ncgraphicsnet
ICQ : 110661991


Post a reply to this message

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