View Single Post
  #2 (permalink)  
Old March 15th, 2006, 06:06 PM
chrispbrown2255 chrispbrown2255 is offline
Registered User
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chrispbrown2255
Default

I've found a way round what I wanted to do.
I've created a valid bmp header in a graphics program, and ow I just copy that header to a new file and append my data to the end.
I'v limited myself to all combinations of 3 intensities, so that gives me 27 colours, which I just write in ascii, ie if I want a nice royal blue, which is hex code 0x21217E I actually write "~!!" (bmps read as BGR) to the file.

Reply With Quote