GLBasic forum

Main forum => Bug Reports => Topic started by: Albert on 2008-Mar-04

Title: PNG with alpha not working on PocketPC
Post by: Albert on 2008-Mar-04
If you use PNG aplha channel instead of the 255,0,128 colorkeycode, then the sprite background will be WHITE on PocketPC (even if you use alpha channel and colorkey together)
In PC it is ok.

(I mean full transparency not some fancy semi transparent and ALPHAMODE -999, you know, but I wonder if ALPHAMODE -999 and the PNG alphachanel will be work sometime also in PPC?)
Title: PNG with alpha not working on PocketPC
Post by: Albert on 2008-Mar-04
I forgot to mention, that if I use PNG without transparency, and the colorkey 255,0,128, then everything seems ok.
Title: PNG with alpha not working on PocketPC
Post by: AndyH on 2008-Mar-04
I have a feeling alpha channels are supported only on Windows, Mac and Linux.
Title: PNG with alpha not working on PocketPC
Post by: Albert on 2008-Mar-04
Aham.
Help says :
"You can also use png files. They use either RGB(255,0,128) for transparency or the alpha channel if it exists"
I thought it will be working all the platform
Title: PNG with alpha not working on PocketPC
Post by: Kitty Hello on 2008-Mar-04
Right. The PocketPC PNG routines cannot use alpha channels. I'll switch to the libPNG for that one day. It's bugging me to death.