Resize Images using Azure Functions

Written by ppolyzos

Software engineer based in Athens, Greece

2 Comments

    1. ppolyzos

      This is a bit tricky as by default the output Stream is set to application/octet-stream and CloudBlockBlob can’t be used for output binding. However, you can declare CloudBlockBlob as “inout” in function.json file and it will work properly.

      function.json

      And the function code to achieve custom ContentType is the following:

Leave a Comment

Your email address will not be published. Required fields are marked *