Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bitmap file byte structure in Linux 2.4

Status
Not open for further replies.

DanglingPointer

Programmer
Apr 5, 2003
22
GB
Can anyone help me with how bitmap images are stored in Linux?

I want to read a bitmap file into my C++ program and display it using Mesa OpenGL functions.

Reading it is the hard part, as I don't know what the file structure is.

Any help much appreciated.

DP


 
You should try and find the specification for the bitmap image's type.

//Daniel
 
I have been trying to do this, but I can't find it... :(
There is a lot more information on the MS Windows bitmap standard, but how this relates to X-windows I don't know...
 
What bitmaps are you using? There are several types supported by X.

//Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top