Post Reply 

Trying to write my first GIMP script

Aug 31, 2014, 17:04 (This post was last modified: Aug 31, 2014 17:06 by piotr_kast.)
Post: #1
Trying to write my first GIMP script

.scm  apply-overlay-value.scm (Size: 1.37 KB / Downloads: 20) This my first attempt to write gimp scripts. I search all internet and I not be able to write properly my script (GIMP 2.8.14).

What script must do:
1. call Create Modal Layers and create new layers from original: Saturation, Hue, Overlay and Value (in this order)
2. Turn Off Value layer
3. Set active Overlay layer
4. Colors/Desatureate with chosen option Luminosity
5. Filters/Blur/Gaussian Blur with horizontal and vertical value set to 35,0
6. Turn on Value layer
7. Colors/Levels

Action 1 thru 6 must do automatically, but in action 7 script must show dialog box. After setting correctly all parameters and click OK button script must end action.

What I doing so far is in attacment.

Could somebody fix this script for me and give me explanation what I'm doing wrong?
I'd be bery gratefull.
Find all posts by this user
Quote this message in a reply
Sep 2, 2014, 13:29
Post: #2
RE: Trying to write my first GIMP script
Thanks for the replay. It's no much, but your answer explain me some things. I work on Windows 7 and now try install python environment for eg. VS 2008. Ones again thanks for links to samples, but now I need some kind step by step manual or tutorial to beginner user how to use this thing. I'm not interested in tutorials who tellls how do mathemathical operation - i want find for python or scripts (whatewer) reference manual for this languages with examples. Maybe you refer some books explain this topic? I am from Poland, but I know perfect english language and this is not a problem for me.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Late binding / COM for opening an image into GIMP? i73 2 58 Aug 4, 2017 17:39
Last Post: i73
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 119 Jul 11, 2017 07:26
Last Post: ythgilb
  How to close gimp with batch command? flixe 1 133 Jun 19, 2017 12:29
Last Post: ythgilb
  Need help in running a gui script-fu via command line eyalzek 2 223 Oct 4, 2014 14:05
Last Post: eyalzek
  Color menuitems in script or plugin Barbie 4 379 Sep 29, 2014 09:51
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS