1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00
dockerfiles/imaginary/README.md

17 lines
487 B
Markdown
Raw Normal View History

2021-10-18 09:40:24 +00:00
imaginary
=========
[Imaginary][1] is a fast HTTP microservice written in Go for high-level image
processing backed by bimg and libvips.
## up and running
```bash
$ docker-compose up -d
2021-10-18 10:42:23 +00:00
$ 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
2021-10-18 09:40:24 +00:00
```
[1]: https://github.com/h2non/imaginary