replace png with pbm