A library of functions for manipulating MNG format files