a port of css-ig.net/scriptpng to linux