A C library for creating and drawing images using the PPM image format.
C 98.8%
Makefile 1.2%
3 1 0

Clone this repository

https://tangled.org/claycow.com/ppm
git@tangled.org:claycow.com/ppm

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Portable Pixel Map Library#

I originally made this because I was watching a video from Jacob Sorber that show PPM as a very easy to use image format for beginners. I've been interested in making more things in C and I thought this would be a fairly easy exercise at creating my own PPM library.

How to Use#

Copy both the ppm.h and ppm.c to your project folder. Then, to compile it alongside your main program file run gcc ... ppm.c -lm.