In order to use libmtpixel functions in your C program you must use this:
#include <libmtpixel.h>
Initialize the libmtpixel library.
Create a new pixel canvas. Returns 0 on success, failure otherwise.
| w | Canvas width in pixels: 1..16384 |
| h | Canvas height in pixels: 1..16384 |
| pal_cols | The number of colours in the palette: 1..256 |
| pal_type | Palette type: 0 for colour; 1 for greyscale |
| bpp | Bytes per pixel: 1 for indexed palette images; 3 for 24 bit RGB images |
Quit the libmtpixel library.