[comp.windows.ms.programmer] REQUEST: bitmap format help

keating@rex.cs.tulane.edu (Sean Ceitinn) (03/30/91)

Maybe somebody out there can help me.  In the SDK Reference - Volume 2,
the data structure BITMAPFILEHEADER has the field bfType, which is
described by: "Specifies the size in DWORDs of the file."  According to
Petzold's article in the 11 September 1990 of PC Magazine, the field
"specifies the size of the file in bytes."  I assume that Petzold is
correct, and not Microsoft.  Am I correct?

Sean

-- 
 +---------------------------------------+ +---------------------------+
 | Looking for genealogical histories of | | keating@rex.cs.tulane.edu |
 | Keating, Migan, Pope, Hobbes, Hobbs.  | | Sean Ceitinn/John Keating |
++---------------------------------------+----+  +-----------------------+
| "My heart is stone and still it trembles    |--| "If you were right,   |
|  The world I have known is lost in shadow." |  |  I'd agree with you!" | 
+---------------------------------------------+  +-----------------------+

curt@cctb.wa.com (Curt Johnson) (03/31/91)

In article <6829@rex.cs.tulane.edu> keating@rex.cs.tulane.edu (Sean Ceitinn) writes:
| Maybe somebody out there can help me.  In the SDK Reference - Volume 2,
| the data structure BITMAPFILEHEADER has the field bfType, which is
| described by: "Specifies the size in DWORDs of the file."  According to
| Petzold's article in the 11 September 1990 of PC Magazine, the field
| "specifies the size of the file in bytes."  I assume that Petzold is
| correct, and not Microsoft.  Am I correct?

You are correct.

It is a DWORD that specifies the size of the .BMP file in BYTES.

(you can see where the error came from...)


Curt Johnson == curt@cctb.wa.com


|                                                  +-----------------------+
|                                                  | "If you were right,   |
|                                                  |  I'd agree with you!" | 
|                                                  +-----------------------+

You're right, so I agreed with you.