These scripts are writen primarily in Python and dictate how to create a basic plugin for GIMP. The main highlights include:
- Basic Structure
- Displaying Messages
- Adding Parameters
- Preparing for batch processing
- Handling Messages in Batch Processing
Copy the contents of the plugin directory to the approprate location for the core functions such as menu options. The contents in the script directory complement the plugins and are not required except for batch processing.
Dillinger is currently extended with the following plugins
- helloWorld (shows what could be done but should not)
- helloBatchWorldMessages (show a better alternative to displaying messages)
Basic Batch Call:
gimp -i -b "(call_helloWorld)"
Alternative Message Display using 3rd option:
gimp -i -b "(call_helloBatchWorldMessages 3)"
With verbose output and no extra data:
gimp --verbose -d -i -b "(call_helloBatchWorldMessages 3)"
In the above example the integer 3 reflects the messageOptions:
messageOptions = {0:noMessage,1:terminalMessage,2:gtkMessage,3:gimpMessage}
With the helloParameterWorldPlugin Example a batch call will have 17 parameters Here is an example:
gimp --verbose -d -i -b "(call_helloParameterWorld 123 3.55 "some string" "some long string" 2 "3xs" 0 17 87 (80, 33, 10) "Sans" "2. Star" "3D Green" "Blinds" "Firecode" 0 0)"
MIT