Incbin

BlitzMax Forums/BlitzMax Beginners Area/Incbin

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Somewhere in your code, add the line:

IncBin "WhateverPath/Whereverelse/YourPicture.PNG"

'Then to use it, go:

Local IM:TImage=LoadImage("INCBIN::WhateverPath/Whereverelse/YourPicture.PNG")

Graphics 640,480,0
DrawImage IM,0,0
Flip
WaitKey
End