POV-Ray : Newsgroups : povray.general : Transparency maps : Re: Transparency maps Server Time
28 Sep 2024 07:41:44 EDT (-0400)
  Re: Transparency maps  
From: Alain
Date: 29 Nov 2014 19:44:12
Message: <547a685c@news.povray.org>
Le 14-11-29 07:18, Thomas de Groot a écrit :
> On 28-11-2014 13:24, clipka wrote:
>> A) 16-bit png images with alpha channel.
>>
>
> Which reminds me: Using IC, how can one convert an 8-bit png into a
> 16-bit png? I suppose the image needs to be resampled but with what
> settings?
>
> Thomas
>
>
Using most image procesing tools supporting saving PNG with multiple bit 
per channel:
Load the original image whitch can be in any format, not just PNG.
Save it as a 16 bit per channel PNG file.
The only thing been that the lower 8 bits will be patched with zeros.
This may be aleviated by enlarging the image and bluring the enlarged 
version. This may force some interpolation between the original pixels. 
Far from perfect, but beter than nothing.

If you can render the image in POV-Ray, add +fn16 to the command line to 
create the image as a 16 bit per channel PNG.

You may try rendering the original image as an image_map of at least 
twice the pixel size of the original and use one of the interpolation 
methods.


Post a reply to this message

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