jchd asked about a way to and I looked around at MSN and found this code here: VOID Example_ConvertFormat(HDC hdc)
{
Graphics graphics(hdc);
Bitmap myBitmap(L"Photo.jpg");
INT width = myBitmap.GetWidth();
INT height = myBitmap.GetHeight();
graphics.DrawImage(&myBitmap, 20, 20, width, height);
// PaletteTypeFixedHalftone27 has 36 entries. A ColorPalette structure has
// room for one entry, so space is allocated for an additional 35 entries.
ColorPalette* pal = (Co