|
-
Oct 23rd, 2004, 07:50 AM
#1
Thread Starter
Member
Bitmaps
Given:
Code:
For y = 1 to 99
For x = 1 to 629
BitmapOffset = ?
Next x, y
What would be the formula for getting the bitmaps file offset?
My brain is fryed, I've been tryin to figure this out all afternoon!
BTW, a lil info on 24-bit bitmaps for the uninformed:
Data segment offset is about 54 (1 as base)
They scan left to right, then in this case +1
Then bottem to top.
Any help would be much appreciated.
Thanks!
-
Oct 27th, 2004, 04:29 AM
#2
offset = (y*width) + x
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|