Open carpben opened 5 years ago
Using base64Img.requestBase64(url, function(...){...} returns a response with a 200 result. But it is unclear how to extract the image string out of it. Any suggestions?
base64Img.requestBase64(url, function(...){...}
const getImages = async () => { // const sig64 = await image2base64(benImgUrl) // return sig64 return base64Img.requestBase64(benImgUrl, function(err: any, res: any, body: any) { console.log(res) }) }
Using
base64Img.requestBase64(url, function(...){...}
returns a response with a 200 result. But it is unclear how to extract the image string out of it. Any suggestions?