nzmpic source code