Vuer

vuer.serdes

serializer

python
def serializer(data)

Source

jpeg

python
def jpeg(image, quality: int=90)

Source

base64 encode the image into a string, using JPEG encoding

Does not support transparency.

png

python
def png(image)

Source

base64 encode the image into a string, using PNG encoding

b64jpeg

python
def b64jpeg(image, quality: int=90)

Source

base64 encode the image into a string, using JPEG encoding

Does not support transparency.

b64png

python
def b64png(image)

Source

base64 encode the image into a string, using PNG encoding