Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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++
- Host: GitHub
- URL: https://github.com/katahiromz/savebitmaptofile
- Owner: katahiromz
- License: mit
- Created: 2019-02-18T10:11:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-02T08:07:01.000Z (6 months ago)
- Last Synced: 2024-09-24T21:17:21.642Z (about 17 hours ago)
- Topics: bitmap, c-language, c-plus-plus, cxx, file, handle, hbitmap, loader, loading, saving, win32, win32api
- Language: C
- Homepage:
- Size: 65.4 KB
- Stars: 10
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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