excel4node
excel4node copied to clipboard
base64 images
Hii all
is there any way to add an base64 string images rather than giving the path to it ???
const base64 = string.replace(/^data:image\/jpeg;base64,/, '');
const buff = Buffer.from(base64, 'base64');
And then instead of "path" specify "image" with the "buff" constant.