Original Post
Hi. In a book, it give an example on loading bitmaps in. Theres a part where it finds out the size of the image data (if no size is specified). Here''s basicly what its doing:
(biWidth * biBitCount + 7) / 8 * abs(biHeight)
I need to know two things here:
What is this doing? I mean, where did the 7 and the 8 come from?
and What the function abs(int) (in stdlib.h) does?
thx,
-J