Skip to main content

pil_to_data_uri

Converts a PIL Image object to a data URI.
Parameters:
image (Image.Image): The PIL Image object.
Returns:
str: The data URI string.
Parameters: Returns: