In BBC BASIC for SDL 2.0 the *DISPLAY (OSCLI "DISPLAY") command will display a BMP, GIF, JPG or PNG image (plus some others).Hi
I am a new user. can you import bit map or jpeg images to a program
If rather than displaying it you want to import the image as a handle so that you can display (and manipulate) it later, use the imglib library.
If you want the best possible performance, e.g. in a video game, use the gfxlib library which is optimised for speed.
So the answer is that there are several ways of importing an image, depending on what you want to do with it.