1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Routines for loading and saving DIBs
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 // Save (device dependent) wxBitmap as a DIB
16 bool wxSaveBitmap(wxChar
*filename
, wxBitmap
*bitmap
, wxColourMap
*colourmap
= NULL
);
18 // Load device independent bitmap into device dependent bitmap
19 wxBitmap
*wxLoadBitmap(wxChar
*filename
, wxColourMap
**colourmap
= NULL
);
21 // Load into existing bitmap;
22 bool wxLoadIntoBitmap(wxChar
*filename
, wxBitmap
*bitmap
, wxColourMap
**pal
= NULL
);
24 HANDLE
wxBitmapToDIB (HBITMAP hBitmap
, HPALETTE hPal
);
25 BOOL
wxReadDIB(LPTSTR lpFileName
, HBITMAP
*bitmap
, HPALETTE
*palette
);
26 HANDLE
wxReadDIB2(LPTSTR lpFileName
);
27 LPSTR
wxFindDIBBits (LPSTR lpbi
);
28 HPALETTE
wxMakeDIBPalette(LPBITMAPINFOHEADER lpInfo
);