Re: UI design for Tk app--PNG's or GIF's for icons?
- From: michael.kirkham@xxxxxxxxx
- Date: 30 Jan 2007 08:56:17 -0800
On Jan 30, 7:06 am, Chris McDonald <c...@xxxxxxxxxxxxxxx> wrote:
I'm confused here;
Indeed. :)
You may have seen some PNGs smoother than some GIFs, but I don't believe
that that is a property of the *encoding* format, merely the amount of
effort that the icon designers have gone to.
GIFs support only boolean transparency (a pixel is either fully
transparent or it isn't), so there can't be any real anti-aliasing
(thus jaggy edges). PNGs support an alpha channel, which allows any
pixel to be anywhere between fully transparent and fully opaque, which
blends much better. GIFs also only support 256 maximum colors in any
single image, which makes differences in colors between two pixels
much more apparent, even if they are similar (thus non-smooth
shading). PNGs support up to 65535 colors per *channel*, although Tk
only supports up to 256 per channel.
.
- Follow-Ups:
- Re: UI design for Tk app--PNG's or GIF's for icons?
- From: Chris McDonald
- Re: UI design for Tk app--PNG's or GIF's for icons?
- References:
- UI design for Tk app--PNG's or GIF's for icons?
- From: Kevin Walzer
- Re: UI design for Tk app--PNG's or GIF's for icons?
- From: Chris McDonald
- UI design for Tk app--PNG's or GIF's for icons?
- Prev by Date: Re: if else else
- Next by Date: Re: Tcl bytecode
- Previous by thread: Re: UI design for Tk app--PNG's or GIF's for icons?
- Next by thread: Re: UI design for Tk app--PNG's or GIF's for icons?
- Index(es):
Relevant Pages
|