iris-image-editor
IRIS and Python libraries working toghether to image processing procedures
Installation
- Clone/git pull the repo into any local directory
$ git clone https://github.com/yurimarx/iris-image-editor.git
- Open a Docker terminal in this directory and run:
$ docker-compose build
- Run the IRIS container:
$ docker-compose up -d
- Do to thumbnail: Go to your Postman (or other similar REST client) and config the request like this image, send and view the response:
- To do watermark: Go to your Postman (or other similar REST client) and config the request like this image, send and view the response:
- Method: POST
- URL: http://localhost:52773/iris-image-editor/watermark
- Body: form-data
- Key: file (the name of file field must be file) and type File
- Value: file from your computer
- Key: watermark (text to be wrote inside image) and type text
- Value: I’m a cat (or other value you want)
- To do filters: Go to your Postman (or other similar REST client) and config the request like this image, send and view the response:
- Method: POST
- URL: http://localhost:52773/iris-image-editor/filter
- Body: form-data
- Key: file (the name of file field must be file) and type File
- Value: file from your computer
- Key: filter (filter option to be selected) and type text
- Value: BLUR, CONTOUR, DETAIL, EDGE_ENHANCE, EDGE_ENHANCE_MORE,
EMBOSS, FIND_EDGES, SMOOTH, SMOOTH_MORE or SHARPEN
Credits
This application used Pillow library (https://pillow.readthedocs.io/en/stable/)