It is currently Tue Mar 19, 2024 5:32 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Script Writing Resources For GIMP
PostPosted: Tue Nov 16, 2010 10:30 pm  (#1) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
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

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: GIMP Script Writing Resources
PostPosted: Wed Nov 17, 2010 4:33 am  (#2) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
More scheme resources that I've found useful:

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

_________________
Kevin


Top
 Post subject: Re: GIMP Script Writing Resources
PostPosted: Wed Nov 17, 2010 12:32 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
And the official docs:
http://docs.gimp.org/en/gimp-using-scri ... orial.html

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: GIMP Script Writing Resources
PostPosted: Fri Dec 07, 2012 4:33 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Nov 06, 2012
Posts: 239
Location: Italy
An excellent resource from Akkana Peck (one of the GIMP developers) on creating scripts and plugins for GIMP:

http://gimpbook.com/scripting/

_________________
Gino D's GIMP scripts: https://sites.google.com/site/ginodonig/gimp-scripts


Top
 Post subject: Re: GIMP Script Writing Resources
PostPosted: Tue Jan 08, 2013 3:39 pm  (#5) 
Offline
Script Coder
User avatar

Joined: Nov 06, 2012
Posts: 239
Location: Italy
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/

_________________
Gino D's GIMP scripts: https://sites.google.com/site/ginodonig/gimp-scripts


Top
 Post subject: Re: Script Writing Resources For GIMP
PostPosted: Thu Nov 06, 2014 6:57 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Monsoonami's script course needs mentioning here also. Excellent beginner course.
https://www.youtube.com/watch?v=dAuJJ6P8Jxs

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Script Writing Resources For GIMP
PostPosted: Tue Jul 21, 2015 11:39 am  (#7) 
Offline
GimpChat Member

Joined: Jul 13, 2014
Posts: 109
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.


Last edited by rob_brz1 on Sat Nov 26, 2016 1:09 pm, edited 1 time in total.

Top
 Post subject: Re: Script Writing Resources For GIMP
PostPosted: Sun Nov 29, 2015 2:51 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
http://www.gnu.org/software/mit-scheme/ ... me-ref.pdf

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Script Writing Resources For GIMP
PostPosted: Tue Oct 08, 2019 3:20 am  (#9) 
Offline
GimpChat Member

Joined: Sep 13, 2016
Posts: 137
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


Top
 Post subject: Re: Script Writing Resources For GIMP
PostPosted: Tue Oct 08, 2019 4:57 am  (#10) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4726
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.

_________________
Image


Top
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) SAND WRITING TUTORIAL

5

No new posts Attachment(s) Writing in the sand tutorial

23

No new posts Giiving my gimp resources

5

No new posts Attachment(s) Uzu's custom resources volume I

11

No new posts Attachment(s) WRITING A TEXT IN THE FRONT AROUND AN OBJECT

14



* Login  



Powered by phpBB3 © phpBB Group