whats the deal with bitmaps

I have a bitmap that is 600x499 an odd shape. I have heard that textures of all formats have to be square and a power of 2 is this correct.

They have to have dimensions that are a power of 2, but do not have to be square. (e.g. 512x256 is perfectly valid)

Edit: Thought I would clarify a bit.

That restriction is for textures, it is not a restriction on bitmaps, (though I’m guessing you meant BMP files, not bitmaps, which are drawn with glBitmap.) A bitmap is a series of bits, where 0 represents a pixel that is off, and 1 is a pixel that is on.

[This message has been edited by Deiussum (edited 01-23-2003).]

yes I ment .bmp files thanks for your help