from Base64 to image

can you give me a tip about best way of displaying an image encoded as base64 string in openframeworks?
thanks in advance

you will need to convert it from base64 to raw bytes/binary first. if it’s uncompressed, you can load it into an ofImage directly using the unsigned char* from getPixels() assuming you know the dimensions and image type. if it’s uncompressed, you’ll need to load the data into an ofBuffer and read the ofBuffer into an ofPixels using ofLoadImage().

for the base64 decoding, you probably want to use Poco