HELP with photoshope .PNG transparencies

Blitz3D Forums/Blitz3D Programming/HELP with photoshope .PNG transparencies

Neochrome(Posted 2005) [#1]
Can someone help?
need a tutorial on making a .png file contain alpha map

make the example work for black text
im using Photoshop CS (version 8)


GfK(Posted 2005) [#2]
I only have PS6 but i'll assume its the same. Create an image, then create a new layer, draw your stuff onto this layer, disable the 'background' layer (the transparent bits show in a 'checkerboard' pattern), save your image to PNG.


Neochrome(Posted 2005) [#3]
it sort of worked, but its got white area's where it was MENT to be masked


GfK(Posted 2005) [#4]
You need to load your texture with the alpha flag.


Neochrome(Posted 2005) [#5]
Gfk.... I could kiss you!!!
IT worked!!!
i realy hate PNG sometimes!!!
it was stupidly easy i should have bin able to do this my self!! Writers block??? WOW


GfK(Posted 2005) [#6]
Gfk.... I could kiss you!!!
Not if you expect me to help you ever again, you won't.

:)


Neochrome(Posted 2005) [#7]
You dont need to worry about that!


Ross C(Posted 2005) [#8]
lol


Baba(Posted 2005) [#9]
Just had the same alpha-png prob myself.

LoadImage has no alpha-flag but by default Blitz treats black(0,0,0) (at least) in png-files as transparent. You can change the "transparent" color (should you need black in your image to really be black) with MaskImage handle, R,G,B.

- b
(no kisses necessary here, either)


Neochrome(Posted 2005) [#10]
the masking works well for sprites the way i needed it to. using maskimage on loadimage stuff works well also.

har har har @ the "no kisses neccessary"

OFF TOPIC
how do i use l33t speach?