Ask Your Question

Revision history [back]

I think because the standard bitmap has the following properties.

•   Bitmaps are saved row-based.

•   When the height is positive, it is a bottom-up bitmap, that is, the last line comes first in memory.

•   A row must be aligned on a 4-byte boundary.

•   Color channel order is BGR (unless specified otherwise by BI_BITFIELDS masks).
click to hide/show revision 2
fixed formatting

updated 2013-01-26 13:51:45 -0600

SR gravatar image

I think because the standard bitmap has the following properties.

  • Bitmaps are saved row-based. row-based.
  • When the height is positive, it is a a bottom-up bitmap, that is, the last last line comes first in memory. memory.
  • A row must be aligned on a 4-byte boundary. 4-byte boundary.
  • Color channel order is BGR (unless (unless specified otherwise by BI_BITFIELDS masks).
BI_BITFIELDS masks).