nanogui: transparent support of PNG image
Subject:
Re: [nanogui] transparent support of PNG image
From:
Alex Holden ####@####.####
Date:
7 Dec 2006 08:27:53 +0000
Message-Id: <2C9091E1-752A-4B10-89DE-CB26EE51FC96@linuxhacker.org>
On 6 Dec 2006, at 23:07, Greg Haerr wrote:
> : So is the transparent PNG don't support
> : in microwindows
> No, transparent PNG's aren't supported.
> You will need to modify engine/image_png.c,
> and set the image.transcolor to the
> transparent color of the PNG image. Read
> up on the PNG library for details on
> how to find the transparent color.
PNG has an alpha channel, not a transparent colour. Microwin-aph
supported PNGs with alpha channels (the translucent bricks and things
in nbreaker were all PNGs).
--
------------ Alex Holden - http://www.alexholden.net/ ------------
If it doesn't work, you're not hitting it with a big enough hammer