question

Arunkumar-6418 avatar image
0 Votes"
Arunkumar-6418 asked ShaikMaheer-MSFT commented

How to read image from azure blob storage as a byte format

Please help me here in order to achieve the below solution?

I have a API for posting image. API accept byte as input.
in this case, i need to read a image from azure blob storage and convert that image to byte and then post that byte value to API using Data factory



Thanks in advance


azure-data-factory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ShaikMaheer-MSFT avatar image
1 Vote"
ShaikMaheer-MSFT answered ShaikMaheer-MSFT commented

Hi @Arunkumar-6418 ,

Thanks for posting query in Microsoft Q&A Platform.

You need to consider writing your code logic of reading image from azure blob storage and convert that image to byte in Azure Function. And then Azure function can be called as part of your ADF pipeline using Azure Function activity.

Azure Function activity followed by web activity we can use to make API call.
195475-image.png

Please note, you can directly do API call also from azure function code itself.

Hope this helps. Please let us know how it goes. Thank you.


image.png (48.1 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ShaikMaheer-MSFT

Thanks for your response. I think it will solve my problem.

0 Votes 0 ·

Hi @Arunkumar-6418 - Nice. Please consider hitting Accept Answer button. Accepted answers help community as well.

0 Votes 0 ·