-----Original Message----- From: Ross McKenzie To: PICLIST@MITVMA.MIT.EDU Date: Monday, 6 October 1997 10:16 Subject: Re: [OT]- BMP format >At 09:45 AM 10/6/97 +1000, you wrote: >>This is sort of off topic, but will help in a future PIC project if >>it is feasible. >> >>Can anyone point me to some information on how bitmap files are >>organised? I've generated some 'zebra' patterns and stored these in >>different colour formats, but can't seem to decypher how the bytes >>relate back to the picture. >> >>Regards >> >>Tony >> >> >>Just when I thought I knew it all, >>I learned that I didn't. >> > >Tony, > >Hi from up the road, > >Visit http://www.wotsit.demon.co.uk They have definitions of many, many >file formats including .bmp. > If you're programming on the Windoze platform, (reasonable assumption - its a Windoze format) - you can find lots of data by looking in the SDK help files, or by trawling thru the windows.h files looking for structs - stuff like BITMAPINFOHEADER. This saves you defining your own structs, and keeps it compatible. The latest SDK isn't bad for throwing BMP's around (compared to previous versions) MikeS