From 3068b2620a221266cd1c4ba70d7fa49cd2356ef8 Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 18 Oct 2021 18:42:23 +0800 Subject: [PATCH] update imaginary --- imaginary/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imaginary/README.md b/imaginary/README.md index 08ecf33..c5f4f8c 100644 --- a/imaginary/README.md +++ b/imaginary/README.md @@ -8,7 +8,9 @@ processing backed by bimg and libvips. ```bash $ docker-compose up -d -$ http -d -o cat.png :9000/flop url==https://github.githubassets.com/images/modules/logos_page/Octocat.png +$ http :9000/health +$ http --form -d -o image.jpg :9000/flop url==https://fly.io/public/images/image-service.jpg +$ http --form -d -o output.jpg :9000/watermark textwidth==100 text==copyright font=='sans 12' opacity==0.5 color==255,200,50 file@image.jpg ``` [1]: https://github.com/h2non/imaginary