RetouchPRO

Go Back   RetouchPRO > Tools > Software
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Software Photoshop, Lightroom, Paintshop Pro, Painter, etc., and all their various plugins. Of course, you can also discuss all other programs, as well.

How to develop Python scripts for GIMP

Reply
 
Thread Tools
  #1  
Old 06-25-2015, 02:28 PM
pixaeiro pixaeiro is offline
Member
 
Join Date: Feb 2015
Posts: 32
How to develop Python scripts for GIMP

Hello,

I have been studying the Python scripting library, and it seems to be very advanced and powerful, but unfortunately I haven't found good documentation for it, and I am pretty much flying blind with it.

I have GIMP 2.8.14 on a Win7 pc.

Does anybody has a link for the API or SDK? I have found this page (http://www.gimp.org/docs/python/) but it seems to be a short introduction to GIMP+Python.

What is the best way to develop scripts for GIMP? Right now I have to edit the script, save, open GIMP, test script, close, repeat... every time... Is there a way to unload a script?

How can I see Python error messages? If something fails, GIMP just shows a 'invalid state' message, but I don't get the Python error message.

Any help on this topic will be greatly appreciated!

Thank you!
Reply With Quote top
  #2  
Old 06-25-2015, 07:07 PM
joe_7 joe_7 is offline
Member
Patron
 
Join Date: May 2015
Location: St. Louis
Posts: 63
Re: How to develop Python scripts for GIMP

On Linux, a Python plug-in is reloaded each time it is used - so perhaps this is a Windows issue/bug.

Some information regarding error messages:
http://gimpforums.com/thread-problem...python-scripts

Also mentioned on that page is running "touch" on the file which updates the last-modified date so that the Gimp will know to reload it.
Reply With Quote top
  #3  
Old 06-26-2015, 05:33 PM
pixaeiro pixaeiro is offline
Member
 
Join Date: Feb 2015
Posts: 32
Re: How to develop Python scripts for GIMP

Thanks joe!
I didn't know the script was reloaded, so I was closing and opening GIMP after I edited the script!
Your tip is a real time saver.!
Reply With Quote top
Reply

  RetouchPRO > Tools > Software


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RetouchPRO LIVE - Lightroom Develop Doug Nelson RetouchPRO LIVE 5 06-18-2015 12:59 PM
Free Sharpening Scripts gmitchel Photoshop Scripting 9 01-16-2006 11:06 AM
Alpha/Beta Testers Needed for Sharpening Scripts gmitchel Photo Restoration 3 06-18-2005 01:27 PM


All times are GMT -6. The time now is 04:06 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved