Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

cloud function return type image

is it possible to return image as responses in Google cloud function .

I want read images as stream and insert into image html tag 

0 2 1,009
2 REPLIES 2

Hi,
You can return a standard HTTP response and specify your image mime type. The framework you use should let you do it idiomatically. Here is an example in Python:
https://codelabs.developers.google.com/codelabs/cloud-functions-python-http#5

Any example available in Dotnet ?

In dotnet i didnt find any image return type