Opening Graphics in TrueBasic

I am trying to find out how to open a graphic using TrueBasic cilver so that when the program is run the graphic is displayed on the screen. Any help?

Thanks.

Comments

re: opening graphics

You can open jpeg or bitmapped (bmp) graphics files using

CALL read_image("MS BMP",variable$,"filename.BMP")

or

CALL read_image("JPEG",variable$,"filename.jpg")

Then display variable$ using

box show variable$ at x,y

where x,y are the coordinates (user defined or pixels according to your initial setup) of the bottom left corner of where you want the graphic displayed.

rwt

Thank you very much, this is

Thank you very much, this is a great help!