Microsoft KB Archive/71267

{|
 * width="100%"|

A B&W Palette Does Not Guarantee a B&W Bitmap

 * }

Q71267

-

The information in this article applies to:


 * Microsoft Windows versions 3.0, 3.0a

-

SUMMARY
When saving a file created with a black and white palette, subsequent loading of the picture may cause the black and white palette to change to the color palette.

This information applies to Microsoft Windows versions 3.0, and 3.0a. This information does not apply to later versions of Windows.

By default, Paintbrush saves a bitmap using the &quot;16-color bitmap&quot; format. Even though the picture was created with a black and white palette, and/or loaded with a black and white palette, the color information is saved into the bitmap file.

The side effect is that the picture comes up in black and white (like it should), but the palette gets changed to color.

To save the black and white palette with the picture, you must select Monochrome Bitmap as the type of bitmap to save.

Saving the Black and White Palette with a Bitmap File

 * 1) From the File menu, choose File Save As and select Options.
 * 2) Select Monochrome Bitmap (press M).
 * 3) Choose OK to save the picture.

Reproducing Palette Change

 * 1) Open Paintbrush.
 * 2) From the Options menu, choose Image Attributes and select Black and White for the color palette.
 * 3) From the File menu, choose New. (The palette should change to black and white at this point.)
 * 4) Draw something (not required).
 * 5) From the File menu, choose File Save.
 * 6) From the File menu, choose File Open and select the file you saved in step 5.

At this point the same picture should be on the screen, but the palette has changed back to color.

Additional query words: 3.00 win30 3.00a

Keywords :

Issue type :

Technology : kbWin3xSearch kbWin300 kbWin300a