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:

Here is what a 'Hello World' program looks like:

#include <libmtpixel.h>

int main()


This program is compiled and run by using:

gcc hello.c -lmtpixel -o hello

Get mtPaint at Fast, secure and Free Open Source software downloads