Add parse_string method for making bitmap objects out of strings.