Usage: gimp [OPTION...] [FILE|URI...] GNU Image Manipulation Program Help Options: -h, --help Show help options --help-all Show all help options --help-gegl Show GEGL Options --help-gtk Show GTK+ Options Application Options: -v, --version Show version information and exit --license Show licence information and exit --verbose Be more verbose -n, --new-instance Start a new GIMP instance -a, --as-new Open images as new -i, --no-interface Run without a user interface -d, --no-data Do not load brushes, gradients, patterns, ... -f, --no-fonts Do not load any fonts -s, --no-splash Do not show a splash screen --no-shm Do not use shared memory between GIMP and plugins --no-cpu-accel Do not use special CPU acceleration functions --session= Use an alternate sessionrc file -g, --gimprc= Use an alternate user gimprc file --system-gimprc= Use an alternate system gimprc file -b, --batch= Batch command to run (can be used multiple times) --batch-interpreter= The procedure to process batch commands with -c, --console-messages Send messages to console instead of using a dialogue box --pdb-compat-mode= PDB compatibility mode (off|on|warn) --stack-trace-mode= Debug in case of a crash (never|query|always) --debug-handlers Enable non-fatal debugging signal handlers --g-fatal-warnings Make all warnings fatal --dump-gimprc Output a gimprc file with default settings --display=DISPLAY X display to use . save the script with the .scm extension in the ~/.gimp-2.4/scripts directory http://www.gimp.org/tutorials/Basic_Batch/ Further information If you want to write your own scripts for batch processing, we suggest you use the Procedure Browser as found in the Help menu. It gives you a detailed list of all commands. = gimp-file-load 1 filename raw filename where args 1 = non-interactive mode This procedure invokes the correct file load handler using magic if possible, and falling back on the file's extension and/or prefix if not. The name of the file to load is typically a full pathname, and the name entered is what the user actually typed before prepending a directory path. The reason for this is that if the user types http://www.xcf/~gimp/ he wants to fetch a URL, and the full pathname will not look like a URL." gimp-file-save run-mode image drawable filename raw-filename = gimp-xcf-load dummy-pattern filename raw-filename gimp-image-crop image new-width new-height offx offy This procedure crops the image so that it's new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous image's content. All channels and layers within the image are cropped to the new image extents; this includes the image selection mask. If any parameters are out of range, an error is returned. gimp-image-lower-item-to-bottom image item This procedure lowers the specified item to bottom of its level in the item tree. It will not move the layer if there is no layer below it. gimp-image-resize image new-width new-height offx offy This procedure resizes the image so that it's new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous image's content. All channels within the image are resized according to the specified parameters; this includes the image selection mask. All layers within the image are repositioned according to the specified offsets. gimp-image-scale image new-width new-height This procedure scales the image so that its new width and height are equal to the supplied parameters. All layers and channels within the image are scaled according to the specified parameters; this includes the image selection mask. The interpolation method used can be set with 'gimp-context-set-interpolation'. = gimp-scale drawable interpolation x0 y0 x1 y1 http://developer.gimp.org/ Parameters : http://www.linuxtopia.org/online_books/graphics_tools/gimp_2.6_user_manual/gimp-using-script-fu-tutorial-first-script.html#ftn.id2980232 http://registry.gimp.org/ Plug-in registry plug-ins/script-fu/scripts/test-sphere.scm Parameter types for script registry : You will find a list of these parameters with descriptions and examples in the test script plug-ins/script-fu/scripts/test-sphere.scm shipped with the GIMP source code. 12.7. The Procedure Browser The Procedure Browser command displays the procedures in the PDB, the Procedure Database. These procedures are functions which are called by the scripts or plug-ins. 12.7.1. Activating the Command You can access this command from the image menubar through Help → Procedure Browser Gimp online - command displays a submenu which lists several helpful web sites that have to do with various aspects of GIMP. You can click on one of the menu items and your web browser will try to connect to the URL. enddoc