POV-Ray : Newsgroups : povray.newusers : Saving output as 16bit grayscale PNG Server Time
5 Nov 2024 05:23:46 EST (-0500)
  Saving output as 16bit grayscale PNG (Message 1 to 3 of 3)  
From: Jong
Subject: Saving output as 16bit grayscale PNG
Date: 18 Jul 2002 05:29:15
Message: <3d368a6b$1@news.povray.org>
Dear all,

 I'd like to save my raytraced image as 16bit/color PNG and eventually
convert the PNG into either 16bit grayscale PNG or 16bit grayscale TIF,
which would result in a range of zero to 65,535 steps in gray level.
When I write down the +FN16, would this be a compressed 16bit per color PNG?
Would there be any other options inside the POV-ray with which I could save
it as 16bit grayscale PNG or 16bit grayscale TIF?

Thanks,

Jong


Post a reply to this message

From: Christoph Hormann
Subject: Re: Saving output as 16bit grayscale PNG
Date: 18 Jul 2002 05:58:03
Message: <3D36912B.3CC46F12@gmx.de>
Jong wrote:
> 
> Dear all,
> 
>  I'd like to save my raytraced image as 16bit/color PNG and eventually
> convert the PNG into either 16bit grayscale PNG or 16bit grayscale TIF,
> which would result in a range of zero to 65,535 steps in gray level.
> When I write down the +FN16, would this be a compressed 16bit per color PNG?
> Would there be any other options inside the POV-ray with which I could save
> it as 16bit grayscale PNG or 16bit grayscale TIF?

When you use '+fn16' you will get a 3x16 bit rgb PNG file.  When
specifying 'hf_gray_16 on' in global_settings you will always get a 16 bit
grayscale PNG with '+fn'.  Same applies for PPM (+fp).

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 15 Jul. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Jong
Subject: Re: Saving output as 16bit grayscale PNG
Date: 18 Jul 2002 08:13:10
Message: <3d36b0d6@news.povray.org>
Thank you, Chris.

Works perfect!

One more newbie question about the gray level or color calculation of the
POV for precision:

In order to get higher precision output such as 16 bit/color PNG, what
parameters should be adjusted?
For example, do I better change the adc_bailout value from 1/255 default to
1/65000?
Are there any to be changed accordingly?

Jong

"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3D36912B.3CC46F12@gmx.de...
>
>
> Jong wrote:
> >
> > Dear all,
> >  I'd like to save my raytraced image as 16bit/color PNG and eventually
> > convert the PNG into either 16bit grayscale PNG or 16bit grayscale TIF,
> > which would result in a range of zero to 65,535 steps in gray level.
...
> > it as 16bit grayscale PNG or 16bit grayscale TIF?
>
> When you use '+fn16' you will get a 3x16 bit rgb PNG file.  When
> specifying 'hf_gray_16 on' in global_settings you will always get a 16 bit
> grayscale PNG with '+fn'.  Same applies for PPM (+fp).
>
> Christoph
>
> --
> POV-Ray tutorials, IsoWood include,
> TransSkin and more: http://www.tu-bs.de/~y0013390/
> Last updated 15 Jul. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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