Subject: Re: Commit: GdkPixbuf && alpha
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Thu Apr 19 2001 - 12:12:33 CDT
Thomas wrote:
>Did you add this support across the board, or only
>to the Unix stuff. Photon can take advantage of
>the alpha channel as well, but it wasn't ever present
>in any of our stuff.
Hi Thomas,
This has to be done entirely within your implementation... Unix could
support this too, with a little bit of work. The fact is that somewhere
inside of gr_QNXImage.cpp you're doing things like this:
png_set_strip_16()
png_set_strip_alpha() (line 265)
...
To get alpha channels working on QNX, you just need to tell libpng to not
strip the alpha channel :) That, and you have to make sure that
PgDrawImagemx() supports drawing of alpha channels or you can always call
another function that does (QNXGraphics.cpp line 793). That's all. This is
entirely p-specific stuff.
Dom
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
This archive was generated by hypermail 2b25 : Thu Apr 19 2001 - 12:12:40 CDT