Decode base64 string example lazarus / 76-Pas2JS ---------------------------------------------------------------------- arirod · 2023-01-24 13:05 How convert/decode base64 json string to stream into twimage (widget)? Any example? Thanks Ari ---------------------------------------------------------------------- KodeZwerg · 2023-01-24 13:12 https://forum.lazarus.freepascal.org/index.php?topic=39789.0 ---------------------------------------------------------------------- arirod · 2023-01-24 13:57 Thanks tô repleto, but i dont use  normal "base64.pas" because generate error on fcl/lcl...i try using JS método, but i not know implement..( sorry my english) ---------------------------------------------------------------------- KodeZwerg · 2023-01-24 14:10 The principle is the same, just cut the Base64 stuff out of code from GetMem's code and insert what "Pas2JS" deliver as Base64 decoded, put that into a stream, assign stream to image and you have what you wanted. But maybe I do misunderstand your request. No worry about your english, mine aint better