This is an old revision of the document!
Table of Contents
Start GroIMP in API mode
Using the GroIMP API it is possible to use GroIMP as a service, or from a remote server.
Installing the API plugin
The API can be installed using the plugin manager, to do so please go on help / plugin manager and select under available plugins the plugin API and press the apply button.
If you want to install the API on a system without a visual user interface you can run the following command:
java -jar core.jar --headless -- -cmd /pluginmanager/commands/installCMD=de.grogra.api
Creating a shortcut on Windows
If you use windows and installed GroIMP using the installer, you should have a desktop shortcut, where you normally click on to start GroIMP. To get the same for the API please duplicate (copy paste) the original one and rename it to “GroLink”. Press right click on the new shortcut and select properties. In the properties panel in the field Target, find the part “javaw.exe” and remove the “w” so it becomes “java.exe” (This will keep the ugly black command line window open). Additionally add at the very end of the content of the same filed “ -a api” which instructs GroIMP to start the API.
After applying this changes, you can now click on this short cut and start the API.