def string_to_image(image_string):
    """
    Convert string datas into a Pillow Image object
    """
    image_filelike = StringIO(image_string)
    image = Image.open(image_filelike)
    return image