Ask a question to get started
Enter to sendā¢Shift+Enter new line
image_bytes_to_b64_string( image_bytes: bytes, encoding: str = 'ascii', image_format: str = 'png'
image_bytes
bytes
encoding
str
'ascii'
image_format
'png'
Encodes image bytes into a b64 encoded string.
Bytes of the image.
Type of encoding in the string. 'ascii' by default.
Format of the image. 'png' by default.