Hi,
I am trying to grab sprites from a single .png file for use as a sprite font (see attached image file), I thought I would just use LOAD BITMAP, then GRAB IMAGE....
Whilst everything works fine it seems that the LOAD BITMAP command removes any transparency for the image so everything ends up with a white background
I've checked the image and its fine (I have attahced it to the post incase), I even used load image to load the whole thing in and stamp it as a sprite to the screen, all tranparency was preserved ok.....its just when using LOAD BITMAP
Is this the wrong way to grab images and preserve the transparency?
The test code I am using is:
Load bitmap "font1.png", 1
set current bitmap 1
get image 1,0,0,24,24
set current bitmap 0
sprite 1,x,y,1
Gives me a white background to the sprite (no transparency)(
whereas (and this was just to check that DBP could recognise the tranparency)
load image "font1.png", 1
sprite 1,x,y,1
preserves the tranparency fine...
Am I doing something obviosuly wrong? Or perhaps this is not the use for load bitmap
Any help would be apreciated
thanks
PS.Using DBPro, ta