Marc Cawood
ย ยทย Positivity โœŒ๏ธ

Function to Return Image Data (not JSON)

I have a function which calls an API which returns image/jpeg data in raw format which the function should return.

A subsequent task should call this function and save the image to a database.

However writing the data directly to the DB does not work (nothing is written)...

and converting the image with "Create Image" fails with "unsupported input":

I suspect some conversion is required but am not sure where and how.

5 replies