Nathan Campos
Nathan Campos

Reputation: 29497

Displaying Image On SmallBASIC

I want to display a image using SmallBASIC. For this I've started by searching on the references, then I found a reference for IMAGE, that is like this:

IMAGE #handle, index, x, y [,sx,sy [,w,h]]

Then I found another to open files(OPEN):

OPEN file [FOR {INPUT|OUTPUT|APPEND}] AS #fileN

But I want to know some things:

Upvotes: 1

Views: 1531

Answers (1)

Alex V
Alex V

Reputation: 3644

The supported image formats are xpm, jpeg, png and gif. For an example of the IMAGE command's use, check out the welcome.bas source code included with the FLTK build of SmallBASIC.

Upvotes: 1

Related Questions