Functions
rosbridge_library.internal.pngcompression Namespace Reference

Functions

def decode (string)
 
def encode (string)
 

Function Documentation

◆ decode()

def rosbridge_library.internal.pngcompression.decode (   string)
b64 decode the string, then PNG-decompress 

Definition at line 53 of file pngcompression.py.

◆ encode()

def rosbridge_library.internal.pngcompression.encode (   string)
PNG-compress the string in a square RBG image padded with '\n', return the b64 encoded bytes 

Definition at line 39 of file pngcompression.py.



rosbridge_library
Author(s): Jonathan Mace
autogenerated on Fri Oct 21 2022 02:45:18