Base 64 Image encoding [SOLVED]

Hello guys :slight_smile:
I would like to encode an image ,taken by device’s camera or uploaded from the libary, in Base 64 file in order to emit it via websocket.
I have tried with this plugin which is in beta stage but it does not work :confused:
Any ideas or help please !?
Thanks in advance.