I need help. I am new with juce and I am trying to load image into juce from base64 format used on web.
MemoryOutputStream out; bool result = juce::Base64::convertFromBase64(out, input); MemoryInputStream in(out.getMemoryBlock(), false); PNGImageFormat format; bool result1 = format.canUnderstand(in); return format.loadFrom(in);
Can someone help me, because FileFormat cant understand data. Data is basically base64 string. Its small png image.