http://qs1969.pair.com?node_id=134381


in reply to Tk::Photo and GIFs - is a pixel transparent or black?

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: Tk::Photo and GIFs - is a pixel transparent or black?

Replies are listed 'Best First'.
Re: Re: Tk::Photo and GIFs - is a pixel transparent or black?
by rob_au (Abbot) on Dec 26, 2001 at 16:13 UTC
    Um, not at all ... According to the RFC for PNG images, the alpha channel is defined for image transparency where values within this channel define the level of transparency - An alpha value of zero represents full transparency whereas a value of (2^bitdepth)-1 represents a fully opaque pixel. Intermediatary values indicate partial transparency such that composite images can be defined. Alternatively, PNG images can also have transparency defined via tRNS where the image can make use of a single palette colour as the transparency for the image in place of the use of the full alpha channel.

     

    perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'