Solved

Bitmap File Format

Posted on 2003-11-24
5
204 Views
Last Modified: 2011-09-20
Hi,

I am currently working on a project that requires me to effectively "dissect" a monochrome bitmap into bits for use with a small LCD panel. I have worked out the header information so that is out of the way but I am having serious problems with how the data is stored. At first I thought it was just a straight forward "on or off" bit arrangement from the bottom right but i'm having doubts now because the data doesn't seem to be displaying what it should.

If someone could give me as much information on how data in a monochrome bitmap is arranged so that I can progress further I would be most greatful to you.

Thanks, Nat.
0
Comment
Question by:Krakken
  • 2
5 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 9813589
0
 
LVL 86

Accepted Solution

by:
jkr earned 200 total points
ID: 9813618
And here's the 'official' MS description:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps_4v1h.asp ("Bitmap Storage")
0
 
LVL 3

Expert Comment

by:RJSoft
ID: 9821418
Did you work out the storage area of the pallette?

RJ
0
 
LVL 9

Expert Comment

by:tinchos
ID: 10285792
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: jkr {http:#9813618}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now