Serialization and Deserialization of Vuer Data Types
vuer.serdes¶

vuer.serdes.serializer(data)[source]¶
vuer.serdes.jpeg(image, quality: int = 90)[source]¶

base64 encode the image into a string, using JPEG encoding

Does not support transparency.

Parameters:

quality (int) –

vuer.serdes.png(image)[source]¶

base64 encode the image into a string, using PNG encoding

vuer.serdes.b64jpeg(image, quality: int = 90)[source]¶

base64 encode the image into a string, using JPEG encoding

Does not support transparency.

Parameters:

quality (int) –

vuer.serdes.b64png(image)[source]¶

base64 encode the image into a string, using PNG encoding