Using a Pixmap as Geometry Description

To use graphical input for the description of complex 2D geometries is an interesting possibility of IBG.

The example file mainpix.c creates a 2D grid using the pixmap test.ppm. To create this program, simply

make pix

The picture is assumed to describe the geometry by using a single color for each region.

Example: Rügen Island (Germany):
Rügen

This test picture I have created in the following way: