The FB.IMAGE version.
The functions included will appear to work with a simulated BLOAD, but BLOAD does a bunch of "other" stuff automatically which I don't know.
The header info can be preset (bit depth etc.)
The main part which needs looking at:
dim as FB.IMAGE ptr image = imagecreate(w,h)
bload filename, image
cheers
Ray