libmtpixel is a fork of mtPaint 3.14.42 with all of the GTK+ dependent code removed and a new application program interface (API) added to allow C programs to use mtPaint functions via a C library. This includes file operations, image manipulation, and pixel painting. The sources can be DOWNLOADED HERE.
This package includes several examples such as drawing a graph, creating an animated GIF, a console based image manipulation program, and a CPU load monitor. Here are some images created by these demonstration programs: