resizeimage/helpers.py
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
def string_to_image(image_string):
    image_filelike = StringIO(image_string)
    image = Image.open(image_filelike)
    return image
def string_to_image ( image_string ) : image_filelike = StringIO ( image_string ) image = Image . open ( image_filelike ) return image
Convert string datas into a Pillow Image object
Convert string datas into a Pillow Image object