display images wit opengl

thanks buddy, but I am wondering how many ways that opengl use to display a image?

I only want opengl diaplay a image with any size, for example 200X100 or 600X800. the images should not be changed in size,

is this the only way that I map the image as a texture onto a QUAD? this way is not good since the images size is restricted to 2powern, which will always change the size.

any other ways? thanks.


You have bitmap functions but they are slow.

Search the archives, this seems to be answered every couple of days. But you can get any size of texture to work, just takes a bit of extra code and ‘padding’ of your images to 2^n dims.