Small .ppm library for creating image files. Provides basic functions like painting pixels or chunks. ffmpeg can be used to convert ppm files to png files.
Note: ./ppmtopng.sh
script can be used to convert and copy all .ppm images to ./images directory as .png files.
# avatar creator example
gcc examples/avatar-creator.c easyppm.c && ./a.out
# text rendering example
gcc examples/text-rendering.c easyppm.c && ./a.out
# random noise example
gcc examples/example.c easyppm.c && ./a.out
[image]
with gcc:
# looped memory test for leaks
gcc example/memtest.c easyppm.c && ./a.out