I would download file on local the create a stream then send to an API. In localhost files get created via blobClient.downloadToFile(defaultFile); But When I deploy function it can not find file to stream, so I think that the download does not happen or in bad location. I get this error Here’s my code I found this post having same
Tag: azure-functions
how to embed an image in a JSON response
I’m using Jimp to read in a JSON string that looks like this: As you can see the image node is a base64-encoded JPEG. I’m able to succesfully convert it to a TIFF and save it: However, when I attempted to embed the tiff inside of a JSON object, the TIFF gets all garbled up: Here’s the full code: How