6bool SaveBitmap(
char *FileName,
int width,
int height,
byte* pBuffer)
14 if(!pBuffer ||!FileName || !*FileName)
22 FileHandle = open(AbsFilename, O_WRONLY | O_CREAT | O_TRUNC);
34 rowlength = (width*3%4==0) ? width*3 : ((width*3/4)+1)*4;
35 write(FileHandle, pBuffer, rowlength * height);
void ConvertPathType(const char *Source, char *Dest, tPathFormat DestFormat)
bool SaveBitmap(char *FileName, int width, int height, byte *pBuffer)