How do I convert a Base64 image url string to a png/jpg image file?

aberba karabutaworld at
Thu Jul 30 12:22:46 UTC 2020

So I have a base64 image url string and I'm trying to generate a 
png,jpg image file from it.

I'm able to decode it to a buffer but the trouble is getting it 
from buffer to an actual image file. Any library function 
combination I can use?

More information about the Digitalmars-d-learn mailing list