Author Topic: PNG with alpha not working on PocketPC  (Read 3294 times)

Offline Albert

  • Dr. Type
  • ****
  • Posts: 257
    • View Profile
    • Blog
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?)

Offline Albert

  • Dr. Type
  • ****
  • Posts: 257
    • View Profile
    • Blog
PNG with alpha not working on PocketPC
« Reply #1 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.

Offline AndyH

  • Dr. Type
  • ****
  • Posts: 383
    • View Profile
    • http://www.ovine.net/
PNG with alpha not working on PocketPC
« Reply #2 on: 2008-Mar-04 »
I have a feeling alpha channels are supported only on Windows, Mac and Linux.

Offline Albert

  • Dr. Type
  • ****
  • Posts: 257
    • View Profile
    • Blog
PNG with alpha not working on PocketPC
« Reply #3 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

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10815
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
PNG with alpha not working on PocketPC
« Reply #4 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.