parse-wormedit: convert pbm format to monochrome pnm