POV-Ray : Newsgroups : povray.general : PNG And Transparency. : Re: PNG And Transparency. Server Time
7 Aug 2024 17:25:46 EDT (-0400)
  Re: PNG And Transparency.  
From: Adrien Beau
Date: 17 Aug 2001 07:48:48
Message: <3B7D04A5.F619E35@sycomore.fr>
Warp wrote:
> 
>   But how does it save the transparent color into the PNG file? Does it just
> save it as an alpha channel (and the "pick a color" is just a tool to create
> automatically the alpha channel)?

From http://www.w3.org/TR/REC-png, section 2.4:

" Transparency control is also possible without the storage cost
of a full alpha channel. In an indexed-color image, an alpha
value can be defined for each palette entry. In grayscale and
truecolor images, a single pixel value can be identified as
being "transparent". These techniques are controlled by the
tRNS ancillary chunk type. "

-- 
Adrien Beau - adr### [at] freefr - http://adrien.beau.free.fr
 Mes propos n'engagent que moi et en aucun cas mes employeurs


Post a reply to this message

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