Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Script Writing Resources For GIMP

Tue Nov 16, 2010 10:30 pm

Script-Fu Tutorial
http://www.seul.org/~grumbel/gimp/scrip ... u-tut.html

Getting Started
http://gimpbook.com/scripting/

Tiny-Fu
http://www.ve3syb.ca/software/gimp/tiny-fu.html

Basic Scheme
http://www.gimp.org/tutorials/Basic_Scheme/

Scheme Programming Language Documentation
http://schemers.org/Documents/Standards/R5RS/HTML/
http://people.csail.mit.edu/jaffer/r5rs_toc.html (alternate link)

Script-Fu Updates in GIMP (2.4)
http://www.gimp.org/docs/script-fu-update.html

Writing a GIMP Plug-in
http://www.gimp.org/docs/plug-in/plug-in.html

Python Tutorial
http://docs.python.org/tutorial/index.html

Python Language Reference
http://docs.python.org/reference/index.html

GIMP Python Documentation
http://python-fu.sourceforge.net/docs.html

Extending Gimp with Python: Python-Fu plug-ins (parts 1 & 2)
http://www.exp-media.com/node/18
http://www.exp-media.com/content/extend ... ins-part-2

Fencepost's Script Writing Tutorials
GIMP Scripting 101
GIMP Scripting 102A
GIMP Scripting 102B
GIMP Scripting 103A
GIMP Scripting 103B

Teach Yourself Scheme:
http://www.ccs.neu.edu/home/dorai/t-y-s ... Z-H-1.html

Re: GIMP Script Writing Resources

Wed Nov 17, 2010 4:33 am

More scheme resources that I've found useful:

http://www.scheme.com/tspl3/
http://www.cs.indiana.edu/scheme-repository/imp/siod.html

Re: GIMP Script Writing Resources

Wed Nov 17, 2010 12:32 pm

And the official docs:
http://docs.gimp.org/en/gimp-using-scri ... orial.html

-Rob A>

Re: GIMP Script Writing Resources

Fri Dec 07, 2012 4:33 pm

An excellent resource from Akkana Peck (one of the GIMP developers) on creating scripts and plugins for GIMP:

http://gimpbook.com/scripting/

Re: GIMP Script Writing Resources

Tue Jan 08, 2013 3:39 pm

It is also worth mentioning the "Portable Python" project for Windows, which provides a standalone implementation of the Python interpreter along with additional libraries and several useful applications:

http://www.portablepython.com/

Re: Script Writing Resources For GIMP

Thu Nov 06, 2014 6:57 am

Monsoonami's script course needs mentioning here also. Excellent beginner course.
https://www.youtube.com/watch?v=dAuJJ6P8Jxs

Re: Script Writing Resources For GIMP

Tue Jul 21, 2015 11:39 am

For the script language Python the info after James Henstridge (http://www.gimp.org/docs/python/) is scattered, here some more.
An article about using Python for GIMP and 'PyDev' plug-in for the 'Eclipse' IDE, written by Nathan A. Good (2011).
http://www.ibm.com/developerworks/library/os-autogimp/
Also for debugging 'pygimp' plug-in by 'ofnuts', a member here, see http://gimpforums.com/thread-debugging-python-fu-scripts .
Edit: sorry for the above, this is not the address any more (2016/11/25)!
For some of your 'pygimp' info, open the GIMP python-fu console and enter 'help(gimp)' and save.

Re: Script Writing Resources For GIMP

Sun Nov 29, 2015 2:51 pm

http://www.gnu.org/software/mit-scheme/ ... me-ref.pdf

Re: Script Writing Resources For GIMP

Tue Oct 08, 2019 3:20 am

Two problems:
1. I would likt to open a new post to ask what I have to ask in 2.

2. VERRY very strange experience! Macbook Gimp 2.10 Emacs
I got out of an (old) backup my change of Arakne huidlab:
guidlabextra.py
I copied it into /Users/peterkhgragert/Library/Application Support/GIMP/2.10/plug-ins:

And big surprise I got the plugin back and running as expected.
Trying to us Gtk for other things was horrible unsuccessful

The real info seams to be in on dir higher
/Users/peterkhgragert/Library/Application Support/GIMP/2.10/
in pluginrc, there I found it noted. OK so far.
I made copies (with Emacs) to a newly created directory in */2.10
removed all from pluginrc and plug-ins about guideslabextra
and indeed plugin not anymore in a new started GIMP

putting the guidelabextra.py back into plug-ins ==> NO Success starting Gimp again (new).
Now remembering it earlier I saw guideslabextra.py~ shortly in the
startup image of GIMP.
So copying back guideslabextra.py~ to plug-ins.
The plugin works again .

Totally not understood.
And the first try I had only guideslab.py in plug-ins
(not knowing how I got the *.py~ , which seems to be essential to
become really active.

HELP HELP

Move this please to a new post and let me know where, please.

Peter

Re: Script Writing Resources For GIMP

Tue Oct 08, 2019 4:57 am

Files ending with "~" are backup copies automatically created by some editors (such as Emacs). IMHO you likely unwillingly edited guideslabextra.py and made changes that are considered a syntax error by Python (Python is very picky about line indentation, a tab or 8 space is not the same indentation, so editing a Python file is fraught with peril if you (or your editor) don't use the same convention as the other author (spaces or tabs). OTOH the backup guideslabextra.py~ is still the original code and works.
Post a reply