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

Last reviewed: November 23, 1994
Article ID: Q71267
The information in this article applies to:
  • Microsoft Windows operating system 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 "16-color bitmap" 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.

MORE INFORMATION

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.


KBCategory: kbtool
KBSubcategory: win30
Additional reference words: 3.00 win30 3.00a


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 23, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.