Image is not recognized

Blitz3D Forums/Blitz3D Beginners Area/Image is not recognized

Ace Killjoy(Posted 2008) [#1]
I've made an image for a project of mine (in bmp. and jpg. if I recall correctly) and Blitz3D does not recognize it.
What I mean is that when I aply it, the parts that are black are not transparent. I've even made sure that the color value was 0,0,0 and it still doesn't work.

How can I fix this?

PS: I made the image using Correl Draw 3.

PSS: I'll be gone for a while after tonight so I won't be able to respond until I return.


Billp(Posted 2008) [#2]
don't use .jpg's the compression scheme will result in pixels being converted to something other than 0,0,0, also if it is being used as a 3d texture set the texture flag to 5 (color+masked)


Ace Killjoy(Posted 2008) [#3]
So, should I use .bmp or something else?

Also, thanks for the tip about not using .jpg's.


Gabriel(Posted 2008) [#4]
Use PNG. It's the best format if you need alpha.


Ace Killjoy(Posted 2008) [#5]
Thanks.
I also found out that the code I tested it in had a CLS command, so there was no backround to see.