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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Bitmaps from scratch

Status
Not open for further replies.

SDE1

Programmer
Mar 11, 2001
7
0
0
GB
I would like to create a bitmap from data i have stored in an array. I do not want to display this image, i just want to write it out to a file so it can be opened by another program at a later time.

Ideally i would like a function that i can pass an array of data to that would take care of the entire process. ie it would write the bitmapfileheader and bitmapinfohearder to disk then concatenate the pixel data stored in my array to the end of it.

I have seen many examples of code that displays bitmaps in piture boxes on forms but this is not ideal.

Any help appreciated.

Thankyou

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top