Home Applications iris-image-editor

iris-image-editor

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
5
1 reviews
0
Awards
220
Views
0
IPM installs
3
1
Details
Releases (1)
Reviews (1)
Issues
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/)

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