as Wolron says, like so:
visual blitz does it, there are other utilities too.
very handy.
;Load image : bonus.png Restore IMAGE_DATAS_bonus_png Read imgW% Read imgH% img=CreateImage(imgW,imgH) SetBuffer ImageBuffer(img) LockBuffer ImageBuffer(img) For x=0 To imgW-1 For y=0 To imgH-1 Read rgb% WritePixelFast x,y,rgb% Next Next UnlockBuffer ImageBuffer(img) SetBuffer BackBuffer() ;bonus.png (128x32) .IMAGE_DATAS_bonus_png Data 128 Data 32 Data $000000, $000000, $000000, $000000, $000000, $000000, $000000, $000000 Data $000000, $000000, $000000, $000000, $000000, $000000, $000000, $000000 Data $000000, $000000, $000000, $000000, $000000, $000000, $000000, $000000 etc...
visual blitz does it, there are other utilities too.
very handy.