Skip to content

r-cemper/PR_Ikon

Repository files navigation

🔳 Ikon 🔲

Identicon generator for Intersystems Caché. Good to use in Mojo applications.

Parameters

  1. Name that's will be converted;
  2. Directory where the file will be generated;
  3. Size of the image in pixels (Default = 250);
  4. Amount of background red (Default = 255);
  5. Amount of background green (Default = 255);
  6. Amount of background blue (Default = 255).

Example

Do ##class(Ikon.Identicon).%New("test","C:\Identicons\",250,255,255,155)

Result of example above:

Result

DOCKER Support

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Clone/git pull the repo into any local directory

$ git clone https://github.com/AndreiLN/Ikon.git  

Open the terminal in this directory and run:

$ docker-compose build

Run IRIS container with your project:

$ docker-compose up -d

Test from docker console

$ docker-compose exec iris1 iris session iris
USER>

Do ##class(Ikon.Identicon).%New("dockerdemo","/home/irisowner/dev/demo/",250,105,255,155)

or using WebTerminal

http://localhost:42773/terminal/

Documentation and Discussion

See the Article on InterSystems Developer Community

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published