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?