Python Convert Image To Data