diff --git a/sample-functions/ResizeImageMagick/README.md b/sample-functions/ResizeImageMagick/README.md index a20e636fc344ce6481b579491e74e485ec36625d..574d97cebef96609a125bc1b8b1c80dbf425abdc 100644 --- a/sample-functions/ResizeImageMagick/README.md +++ b/sample-functions/ResizeImageMagick/README.md @@ -5,10 +5,10 @@ To resize an image with ImageMagick do the following: **Create your function on the FaaS UI or via `curl`** ``` -$ curl -s --fail localhost:8080/system/functions -d '{"service": "stronghash", "image": "functions/alpine", "envProcess": "sha512sum", "network": "func_functions"}' +$ curl -s --fail localhost:8080/system/functions -d \ +'{"service": "resizer", "image": "functions/resizer", "envProcess": "convert - -resize 50% fd:1", "network": "func_functions"}' ``` - **Resize a picture by 50%** Now pick an image such as the included picture of Gordon and use `curl` or a tool of your choice to send the data to the function. Pipe the result into a new file like this: