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

Arunkumar 86 Reputation points
2022-04-21T07:54:02.727+00:00

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
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,520 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 37,896 Reputation points Microsoft Employee
    2022-04-22T11:08:46.63+00:00

    Hi @Arunkumar ,

    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful