Encodes an image to a base64 string. Args: image (str or PIL.Image.Image): The image to encode. - If str: should be a valid image file path. - If PIL.Image.Image: image will be encoded from memory. Returns: str: Base64-encoded image string.
(image)
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected