Hi Ferdinando,

This is a piece of code I've been using:

TEXT TO BLOB($base64string;$pictBlob;UTF8 text without length)
If (BLOB size($pictBlob)>0)
        BASE64 DECODE($pictBlob)
        BLOB TO PICTURE($pictBlob;$picture;"JPEG")
End if 

HTH,
Koen

PS: I'd advise to switch to the official 4D Forum: discuss.4d.com, not many 
developers are using this mailing list.

> Op 4 jun. 2021, om 13:40 heeft stardata.info via 4D_Tech 
> <[email protected]> het volgende geschreven:
> 
> I need to obtain an image from a base 64 string.
> 
> How i can do using 4D Commands?



--------------------
Compass bv
Koen Van Hooreweghe
Kloosterstraat 65
9910 Aalter
Belgium
tel +32 495 511.653

**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to