Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/katahiromz/savebitmaptofile

Loading/saving a bitmap in Win32 C/C++
https://github.com/katahiromz/savebitmaptofile

bitmap c-language c-plus-plus cxx file handle hbitmap loader loading saving win32 win32api

Last synced: about 12 hours ago
JSON representation

Loading/saving a bitmap in Win32 C/C++

Awesome Lists containing this project

README

        

# SaveBitmapToFile

[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/eubpjk9esdbqhyh9?svg=true)](https://ci.appveyor.com/project/katahiromz/savebitmaptofile)

`LoadBitmapFromFile` function loads a bitmap from file in Win32 C/C++.

`SaveBitmapToFile` function saves a bitmap to file in Win32 C/C++.

```c
#include "SaveBitmapToFile.h"
HBITMAP WINAPI LoadBitmapFromFile(LPCTSTR bmp_file);
BOOL WINAPI SaveBitmapToFile(LPCTSTR bmp_file, HBITMAP hbm);
```

Don't forget to append the filename extension.

License: MIT