CrandellWS / gimp-plugin-helloworld

GIMP Plugin Hello World examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GIMP Hello World Examples

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

Installation

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.

Plugins

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)"

License

MIT

About

GIMP Plugin Hello World examples

License:MIT License


Languages

Language:Python 89.5%Language:Scheme 10.5%