Creating textures.

If I want to render an image that has height and width not a power of 2 how do I map the bits to a texture?

u hav to use extensions. there is a good example on nehe and on gamedev.