There are also some OpenGL functions that you can use to write pixels, read pixels, convert pixel formats, and create textures (images) out of pixmaps. These are what BlitzMax's higher-level commands are based on. But then you would need to know how to set up the rest of the OpenGL environment, draw vertices and bind textures etc.