Pixel data from GLTexFromPixmap()

BlitzMax Forums/BlitzMax OpenGL Programming/Pixel data from GLTexFromPixmap()

Is there a way to get the pixel data for a texture id obtained by using GLTexFromPixmap()?

EDIT: This is for saving/loading, how would I load the data back into a gl texture (or whatever I should be calling it.)

EDIT2: Can we just use glTexCoord2f with pixmaps? (so the data can be saved/loaded a lot easier, and so we don't have to convert it to a GL id)