INFO: Background Colors Affect BitBlt() from Mono to Color (41464)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
- Microsoft Windows Software Development Kit (SDK) 3.0
- Microsoft Win32 Application Programming Interface (API), when used with:
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Workstation 3.5
- Microsoft Windows NT Workstation 3.51
This article was previously published under Q41464 SUMMARY
When using BitBlt() to convert a monochrome bitmap to a color bitmap, GDI transforms all white bits (1) to the background color of the destination device context (DC). GDI transforms all black bits (0) to the text (or foreground) color of the destination DC.
When using BitBlt() to convert a color bitmap to a monochrome bitmap, GDI sets to white (1) all pixels that match the background color of the source DC. All other bits are set to black (0).
These features are mentioned in the BitBlt() documentation.
manual.
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbinfo KB41464 |
---|
|