Serialization and Deserialization of Vuer Data Types
vuer.serdes#

vuer.serdes.serializer(data)[source]#
vuer.serdes.jpg(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.b64jpg(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