纯C代码写BMP文件
int SaveFileBMP( const char* filename, unsigned char* pixels, int width, int height, int pixelSize ){ std::ofstream file; file.open( filename, std::ios::out | std::ios::binary ); BITMAPFILEHEADER