00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __DIB_H__
00019 #define __DIB_H__
00020
00021
00022 int WIN32API DIB_GetDIBWidthBytes( int width, int depth );
00023
00024 int DIB_GetDIBImageBytes( int width, int height, int depth );
00025 int DIB_BitmapInfoSize( BITMAPINFO * info, WORD coloruse );
00026 int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, DWORD *width,
00027 int *height, WORD *bpp, WORD *compr );
00028 void DIB_FixColorsToLoadflags(BITMAPINFO * bmi, UINT loadflags, BYTE pix);
00029 int WIN32API BITMAP_GetWidthBytes( INT width, INT depth );
00030
00031 #endif