Hi,
I do have a binary response of an image, i.e. “data:image/jpeg;base64,/9j/4AAQS ...”. In my app I convert this into a Buffer using `Buffer.from(response.content, 'binary');`. How do work with such binary data? My goal here is to save the binary into an image file. Any built-in actions to work with file system?
Thanks
Question
How to create an image file using its buffer
Be the first to reply!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.