#include <maglo.h> int MAGpixelWidth(MagImage *mag);
The MAGpixelWidth() function returns width of `pixel' in the MAG file that mag is associated to.
The term `pixel' represents minimum unit of data transfer and data compression in the MAG format specification. In 8- and 16-color images, a `pixel' is 4 horizontally aligned screen pixels. In 256-color images, a `pixel' is 2 horizontally aligned screen pixels.