https://github.com/dacap/raster
An experimental/work-in-progress C++17 library to use raw buffers as 2D images.
https://github.com/dacap/raster
Last synced: 10 months ago
JSON representation
An experimental/work-in-progress C++17 library to use raw buffers as 2D images.
- Host: GitHub
- URL: https://github.com/dacap/raster
- Owner: dacap
- License: mit
- Created: 2015-11-04T15:33:40.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2022-01-13T01:32:38.000Z (over 4 years ago)
- Last Synced: 2025-02-28T16:19:11.447Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 29.3 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Raster Library
[](https://github.com/dacap/raster/actions?query=workflow%3Abuild)
[](LICENSE.txt)
A generic C++17 library to use raw buffers as images.
This is an experimental/work-in-progress library released under the
terms of the MIT license. There is no roadmap or specific goals, just
for experimental purposes and testing.
## Examples
```c++
#include "raster/png.h"
#include
int main() {
raster::image img = raster::png::load_from_file("testing.png");
if (img) {
std::printf("Width %d Height %d\n",
img.width(), img.height());
}
}
```