Hey guy's, so I solved the problem of loading a bitmap image, thanks to everyone who had helped me but then I came across a question to myself.
Why does sprites have a magenta color background when being used for allegro?
does it have something to do with the bit values
and if so, how do I make this sprite I made in gimp and edited with paint load or show up WITHOUT the white background? I will provide an attachment for you guys to look at (the "kid.bmp" image)
in my code I set the color depth to desktop_color_depth() to support my system, but why does it show the white background which was edited in paint?
How does it work with magenta?
more info: I'm using a 32 bit machine which runs just fine, I've also provided the output of the program when running.