Convert pbm file to png