Home Applications iris-image-editor

iris-image-editor

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
1 reviews
0
Awards
173
Views
0
IPM installs
2
1
Details
Releases
Reviews
Issues
Pull requests
IRIS and Python libraries working toghether to image processing procedures

What's new in this version

Initial Release

iris-image-editor

IRIS and Python libraries working toghether to image processing procedures

Installation

  1. Clone/git pull the repo into any local directory
$ git clone https://github.com/yurimarx/iris-image-editor.git
  1. Open a Docker terminal in this directory and run:
$ docker-compose build
  1. Run the IRIS container:
$ docker-compose up -d 
  1. Do to thumbnail: Go to your Postman (or other similar REST client) and config the request like this image, send and view the response:

Request for Thumbnail images

  1. To do watermark: Go to your Postman (or other similar REST client) and config the request like this image, send and view the response:

Request for watermark images

  • 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)
  1. To do filters: Go to your Postman (or other similar REST client) and config the request like this image, send and view the response:

Request for filter images

  • 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/)

Read more
Made with
Version
1.0.024 Mar, 2022
Category
Technology Example
Works with
InterSystems IRISInterSystems IRIS for Health
First published
24 Mar, 2022
Last checked by moderator
27 Jun, 2023Works