i assume u mean OpenGL by OPGL. it is quite easy, you open the jpeg file, decompress it (there are a lot of articles about that on codeproject) and then you create a texture with it and put it on a 3d object, e.g. a cube, or a triange, etc. Don't try it, just do it! ;-)