Documentation Index
Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
Use this file to discover all available pages before exploring further.
pil_to_data_uri
Parameters:
image (Image.Image): The PIL Image object.
Returns:
str: The data URI string. Parameters:
| Name | Description |
|---|---|
image | Type: Image.Image |
| Type | Description |
|---|---|
| str | str: The data URI string. |