Alphachannel info utilized!

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Alphachannel info utilized!

Post by Rook Zimbabwe »

The PNG alphachannel information (if any) is ignored for now.
... from PB CHM

Of please!!! We need this!!! :D

I wiant to make a simple fancy PNG (with transparency) Startup screen (only the TEXT shows!) and if we had transparecy I would not have to go through all sorts of maddness to do it! 8)
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

Yes, I also apreciate full PNG transparency.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

The alpha channel is preserved when loading a 32-bit png. Try it with DrawAlphaImage() and you will see this.

I think it's when saving to png format that the alpha channel is ignored etc.
I may look like a mule, but I'm not a complete ass.
Post Reply