#include <cassert>
#include <string.h>
#include <stack>
#include <iostream>
#include <mapnik/graphics.hpp>
#include <mapnik/image_util.hpp>