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

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

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