It is currently Thu Jul 04, 2024 4:26 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Python plug-ins by Werner Hartnagel
PostPosted: Wed Nov 03, 2010 5:38 am  (#1) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Some time ago, I came across these python plug-ins found at http://python-fu.sourceforge.net/

A few of them didn't work properly (yin-yang & cubic patterns), and a couple of them I "sort of" fixed (scanlines) and reposted them at the Registry. But the other two escaped my ability to fix, until last night. I was reading in my Python book that tuples can't have square brackets in the code anymore. After removing the square brackets in all the gimp-set commands and replacing with parentheses, they both worked flawlessly. Just thought I would pass it on, in case anyone was interested.

I still couldn't completely fix scanlines, because like a scene out of "Back to the Future", the plug-in would search for an older layer it overwrote, then say it couldn't find it and crash. The work around I gave it was to have it add the new layer using a different name, so the plug-in could complete the process. It would be really cool to have someone with Python knowledge give advice from time to time. :)

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Last edited by mahvin on Fri Nov 19, 2010 10:28 am, edited 1 time in total.

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: Python plug-ins by Werner Hartnagel
PostPosted: Wed Nov 03, 2010 6:00 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thanks Mahvin.

_________________
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: Python plug-ins by Werner Hartnagel
PostPosted: Wed Nov 03, 2010 11:04 am  (#3) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
mahvin wrote:
It would be really cool to have someone with Python knowledge give advice from time to time. :)

Try to ask advice with a clear title...and cross the finger

BTW on the meethegimp forum , in the script and plugin board many know about py scripting (starting from Rolf himself )
for a while was a little mine of py scripts...and folk therre is quite helpful

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts use in python of plug-in lighting

4

No new posts Attachment(s) GIMP Python-Fu Plug-in template

4

No new posts GIMP 2.10 doesn't install my python plug-ins

1

No new posts Plug-in crashes after OS upgrade: python version mismatch? maybe?

4

No new posts Convert GIMP plugin from Python 2 to Python 3

4



* Login  



Powered by phpBB3 © phpBB Group