https://github.com/dispatchcode/ppm-image-library
A simple PPM Image library written in C
https://github.com/dispatchcode/ppm-image-library
c library ppm
Last synced: 3 months ago
JSON representation
A simple PPM Image library written in C
- Host: GitHub
- URL: https://github.com/dispatchcode/ppm-image-library
- Owner: DispatchCode
- License: other
- Created: 2016-12-31T02:03:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-04T17:31:35.000Z (over 8 years ago)
- Last Synced: 2024-12-30T02:52:08.852Z (5 months ago)
- Topics: c, library, ppm
- Language: C
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PPM Image Library (v1.0)
This is the first version of the PPM Imgage library that I'm writing. This project is born only like a base for a future and small - but interesting - project.The library is fully documented, and in a future version I will be use Doxygen for generating the documentation.
The following are few example (image converted because of their size):
*Plus sign with background white color*
```
void third_test()
{
int i, j;
initialize(w, h); // Initialize the array pixels array to 0's
set_background_rgb(255, 255, 255); // Set white color on all the background image
// Horizontal Green line
for(i=0; i