It is currently Tue Jul 02, 2024 10:50 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Somebody installed and use gimpscripter ?
PostPosted: Mon Sep 17, 2012 5:35 pm  (#1) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
that is described http://www.registry.gimp.org/node/25305 and has a page on http://www.github.com/bootchk/gimpscripter

I try to install in gimp 2,.8.2 (win) and apparently is installed but doesn't do nothing not even show a gui

But i believe to have read that use glade..maybe is needed some glade libraries or binary.?

_________________
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


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: Somebody installed and use gimpscripter ?
PostPosted: Mon Sep 17, 2012 7:51 pm  (#2) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
PC,

What issue are you having?

To install, do the following:
1. Copy the main plugin-gimpscripter.py to your plug-ins folder.
2. Copy the folder gimpscripter into the plug-ins folder.

That's it. It will be available under Filters -> Gimpscripter

Something like this:
Attachment:
File comment: Gimpscripter Window
gimpscripter.jpg
gimpscripter.jpg [ 128.77 KiB | Viewed 4864 times ]

PS: I have not used it, just installed it.


Top
 Post subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Mon Sep 17, 2012 8:42 pm  (#3) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
i did the same..more or less i put gimpscripter.py and the gimpscript folder in a subfolder of plugin (and added a path in preference)
The plugin is listed in the menu but doesn't show any gui, neither give error messages

I imagine that somehow can't find its folders...

_________________
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 subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Mon Sep 17, 2012 9:03 pm  (#4) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Sort of solved but not as i like

to make it work i had to move in lib/gimp/2.0/plug-ins on samj portable doesn't accept to work from any other place

_________________
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 subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Mon Sep 17, 2012 9:56 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Gimpscripter is awesome!
I never knew it existed until PC mentioned it.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Mon Sep 17, 2012 10:23 pm  (#6) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Sounds like it has the potential to be a nice tool. Thanks for the heads up. Code generators are notorious for generating inefficient code but as long as the code works reasonably well, that's all that matters. A GIMP macro recorder/playback tool would be really nice. :hehe

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


Top
 Post subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Tue Sep 18, 2012 1:57 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
I've been wanting to play with this for a long time. I might even take up script writing for real sometime.


Top
 Post subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Tue Sep 18, 2012 4:52 am  (#8) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
no joy yet to install it i had to install globally but the worse is that even so doesn't seems to work:
now i may see the gui, chose procedures,set the values, chain...but at the last step nothing happens, no shortcut is create click ok has no effect (and doesn't even close the plugin )

I am looking to the doc to see if i goofed something but i had the impression that still some component is not properly loaded

Now what i wished to do was very easy i may do also with gmic , i wanted do with gimpscripter just to test it and because even if the name suggest the contrary gimpscripter didn't require any scripting knowledge

the steps were to "polish" 3d fractals ,original to edit are supposed to between 4800x3200 and 3200x2400
1)gaussian blur 1px
2)scale down to 2400x1800
3)unsharpmask2 ( set to do a soft "dark halo" sharpening )

a limit is for 2) it is no possible use a % but only hardcoded values

anyway doesn't work for me and just at the last step, to create and save the routine (the new shortcut)

_________________
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 subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Tue Sep 18, 2012 4:56 am  (#9) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
partha wrote:
PC,

What issue are you having?

To install, do the following:
1. Copy the main plugin-gimpscripter.py to your plug-ins folder.
2. Copy the folder gimpscripter into the plug-ins folder.

That's it. It will be available under Filters -> Gimpscripter

Something like this:
Attachment:
gimpscripter.jpg

PS: I have not used it, just installed it.


@partha
could you check if for you works ?

just chose from the left panel 2 or 3 procedure to call sequentially and see if you can apply create and store a new shortcut

i get now problem in the very last step, for me OK does nothing at all

_________________
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 subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Tue Sep 18, 2012 5:05 am  (#10) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
PhotoComix wrote:
i did the same..more or less i put gimpscripter.py and the gimpscript folder in a subfolder of plugin (and added a path in preference)
The plugin is listed in the menu but doesn't show any gui, neither give error messages

I imagine that somehow can't find its folders...

It's not the gimp path you need, you need PYTHONPATH. If you want to put gimpscripter in some other place, modify the source (for both the main py script and the gui scripts) to point to the location of gimpscripter module. You can probably get away with simply doing the following:

import sys
sys.path.append("name")

where name is the new location. There are other ways to search for modules. Look at http://docs.python.org/install/index.html#search-path

You may be able to simply put a wrapper around the whole thing so that you don't need to modify the source.

None of this is tested and you will have to do trial and error. :)


Top
 Post subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Tue Sep 18, 2012 5:08 am  (#11) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
PhotoComix wrote:
no joy yet to install it i had to install globally but the worse is that even so doesn't seems to work:

anyway doesn't work for me and just at the last step, to create and save the routine (the new shortcut)

Are you using the Shortcut name box on the bottom and re-starting Gimp?

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Tue Sep 18, 2012 5:09 am  (#12) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
PhotoComix wrote:
partha wrote:
PC,

What issue are you having?

To install, do the following:
1. Copy the main plugin-gimpscripter.py to your plug-ins folder.
2. Copy the folder gimpscripter into the plug-ins folder.

That's it. It will be available under Filters -> Gimpscripter

Something like this:
Attachment:
The attachment gimpscripter.jpg is no longer available

PS: I have not used it, just installed it.


@partha
could you check if for you works ?

just chose from the left panel 2 or 3 procedure to call sequentially and see if you can apply create and store a new shortcut

i get now problem in the very last step, for me OK does nothing at all

Here you go.
Attachment:
File comment: Scripter output
gimpscripter-1.jpg
gimpscripter-1.jpg [ 165.43 KiB | Viewed 1208 times ]

PS: Again, just playing and not really using it. :)


Top
 Post subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Tue Sep 18, 2012 5:55 am  (#13) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
trying again now i will let you know

_________________
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 subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Tue Sep 18, 2012 6:48 am  (#14) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
i see, clearly the script can't work if was supposed to be installed in .gimp-2.8/plug-ins because i have not a .gimp folder,
but i was expecting working at least if installed globally (in the main plugin folder)

instead i am still stuck here ,

Image


... sure i should edit the path but i don't understand what components are not loaded

_________________
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 subject: Re: Somebody installed and use gimpscripter ?
PostPosted: Tue Sep 18, 2012 10:22 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I do not think the pdb calls within Gimpscripter are completely correct though.
I created a shortcut that was supposed to take a selection, and invert it and run "Lizard Breath" on the selected area.Instead it selected the entire image and filled it with green scales and then turned it black. :)

Could be because the "Lizard Breath" script works only on a transparent layer without a selection i suppose.

_________________
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 new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Gimpscripter plug in for 2.10?

4



* Login  



Powered by phpBB3 © phpBB Group