|
|
Kari Kivisalo wrote:
>
> ingo wrote:
> >
> > > Povray [...] doesn't use the low byte of 16 bit pngs.
> >
> > Ah, never realised that :(
>
> It's easy to test.
>
And should be possible to fix.
(png_pov.cpp, function PNG_Image::Read_Line)
BTW, does anyone know why it says:
line_data[col][pRED] = (DBL)row_ptr[j] / 255.0;
and not
line_data[col][pRED] = (COLC)row_ptr[j] / 255.0;
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
|
|
In article <3E11B0B9.42C8FAEF@gmx.de> , Christoph Hormann
<chr### [at] gmxde> wrote:
> BTW, does anyone know why it says:
>
> line_data[col][pRED] = (DBL)row_ptr[j] / 255.0;
>
> and not
>
> line_data[col][pRED] = (COLC)row_ptr[j] / 255.0;
No, but note that it does not make a difference.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|