It is currently Fri Sep 11, 2026 10:46 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Can I save GEGL custom presets? - SOLVED
PostPosted: Wed Mar 01, 2017 5:53 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 06, 2017
Posts: 204
GIMP Version: 2.8.20
Operating System: Windows
OS Version: Windows 10 64 bit
GIMP Experience: Basic Level



Is there a way to configure GEGL in gimp so that gimp can remember a custom setting for a particular GEGL filter (I have in mind the 'mirror' filter)?

Or even better, a way to progressively change a particular parameter (or two..) without going through the route of Tools>GEGL operation>'x-filter' etc and repeat ad infinitum (seemingly) every time?

I'm not talking about hotkeys or anything, but something that could be perhaps done via a text file or similar ( I'm no programmer so anything else might be above my head unless explained thoroughly ...)

Cheers


Last edited by Zero01 on Sat Mar 04, 2017 6:26 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: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 1:10 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
...and maybe also a way to call GEGL from inside a filter? (like the pdb interface)

_________________
"Where am I ?"


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 6:05 am  (#3) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2614
dinasset wrote:
...and maybe also a way to call GEGL from inside a filter? (like the pdb interface)


Doubtful, since the GEGL filters do not show in the plugin browser.

Something for your future use:

Certainly in the Gimp development ver (2,9.x) a GEGL filter can be saved as a preset. The Gimp 2.8 GEGL opp 'mirrors' is named 'kaleidoscope' in Gimp 2.9

When it comes to running as a batch file GEGL can run as a command line on its own (in linux, do not know about the GEGL port to Win, if any)

gegl -v Lenna.png -o test.jpg -- mirrors n-segs=11 input-scale=19


gives from the standard Lenna image

Attachment:
test.jpg
test.jpg [ 146.2 KiB | Viewed 3536 times ]


full list of parameters is

gegl:mirrors properties: 'm-angle', 'r-angle', 'n-segs', 'c-x', 'c-y', 'o-x', 'o-y', 'trim-x', 'trim-y', 'input-scale', 'output-scale', 'clip', 'warp',


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 6:54 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
Thanks Rich.
Only to clarify why I posted that hope:
- whatever Language is (or uses) GEGL, the filter appears to run receiving a similar list of parameters as G'MIC does
- hence an interface like "gui" in G'MIC should be possible
- also, because it is callable on line in Gimp, when this happens Gimp is sending a list of parameters to GEGL; the same list could be possibly sent to from inside a filter
The problem is: who cares? Is there a person specifically dedicated to Gimp-GEGL?

_________________
"Where am I ?"


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 8:03 am  (#5) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
dinasset wrote:
Is there a person specifically dedicated to Gimp-GEGL?


I suggest you subscribe to the GIMP developer mailing list and ask these questions there:
https://mail.gnome.org/mailman/listinfo ... loper-list


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 8:27 am  (#6) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16170
Quote:
...and maybe also a way to call GEGL from inside a filter? (like the pdb interface)


Doubtful, since the GEGL filters do not show in the plugin browser.


It may actually be possible if you read the functions in the c file for a GEGL plug-in. That is IF there are any present in the src file.

_________________
Image


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 9:09 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
paynekj wrote:
dinasset wrote:
Is there a person specifically dedicated to Gimp-GEGL?


I suggest you subscribe to the GIMP developer mailing list and ask these questions there:
https://mail.gnome.org/mailman/listinfo ... loper-list

OK, done, Kevin.

_________________
"Where am I ?"


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 10:35 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 06, 2017
Posts: 204
OK, thanks everyone.


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 11:00 am  (#9) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16170
If you download and install GIMP-2.9 it will allow you to save GEGL presets.

_________________
Image


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 11:05 am  (#10) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2614
Rod wrote:
If you download and install GIMP-2.9 it will allow you to save GEGL presets.


Exactly what I wrote in my earlier post.


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 11:08 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
dinasset wrote:
paynekj wrote:
dinasset wrote:
Is there a person specifically dedicated to Gimp-GEGL?


I suggest you subscribe to the GIMP developer mailing list and ask these questions there:
https://mail.gnome.org/mailman/listinfo ... loper-list

OK, done, Kevin.


Just got this reply from Joao:
"Hi Diego -  the main problem right now is that GEGL Python bindings
are only possible from Python3 (with pygobject)  - and GIMP-Python is
stuck in Python2 + old GTK+ bindings.

But your e-mail gave me an idea - not that I am currently with time to
hack with it - but maybe use a module thta use a shameless hack to
call GEGL functions, even if it requires  making remote procedure
calls to a Python3 plug-in that can use GEGL directly."

So, there is a ... (remote) hope. Let's see.

_________________
"Where am I ?"


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Thu Mar 02, 2017 2:35 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 06, 2017
Posts: 204
Thanks for the suggestions about downloading and installing GIMP 2.9.. I saw that mentioned early on in this thread.. only thing is I did just that not long ago but soon realised I didn't have a clue about getting it up and running as there doesn't seem to be a set-up exe file or such-like, so I need some guidance as to how to install it, if anyone can take the time out to explain it'd be most appreciated!


~cheers


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Fri Mar 03, 2017 12:44 pm  (#13) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16170
Zero01 wrote:
Thanks for the suggestions about downloading and installing GIMP 2.9.. I saw that mentioned early on in this thread.. only thing is I did just that not long ago but soon realised I didn't have a clue about getting it up and running as there doesn't seem to be a set-up exe file or such-like, so I need some guidance as to how to install it, if anyone can take the time out to explain it'd be most appreciated!


~cheers

Is it a portable version?

_________________
Image


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Fri Mar 03, 2017 3:05 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 06, 2017
Posts: 204
Rod wrote:
Is it a portable version?


I binned it, but I don't think it was the portable, think it was just a regular 64-bit version.


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Fri Mar 03, 2017 3:31 pm  (#15) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16170
Zero01 wrote:
Rod wrote:
Is it a portable version?


I binned it, but I don't think it was the portable, think it was just a regular 64-bit version.

You can get the portable version here

This is a direct link to the download. Just run the executable and it will open as a compressed zip file. Unzip to the default which i believe is the desktop on Windows.

Start it and check to see if it installs a sub-folder named "filters" in the C:\Users\username\Desktop\Gimp-2.9.5-std\portable folder. If so it should save GEGL presets for you.

I just test installed it as i stated above and it is there so that should work. :)

_________________
Image


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Fri Mar 03, 2017 3:48 pm  (#16) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16170
In the Filters drop down list select one with the G next to the filter name. "Tools >GEGL Operation" doesn't have a save preset button.

_________________
Image


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Fri Mar 03, 2017 4:03 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Jan 06, 2017
Posts: 204
OK great stuff, thanks Rod, I'll try that out soon.
Do I have to uninstall 2.8 before I can use 2.9.5?

EDIT: Well, I installed it with 2.8 also on my system, did as you said and seems like it's working, I found the 'filters' folder in C:\Users\''me''\Desktop\Gimp-2.9.5-std\portable - and you're saying i can save presets for GEGL in there.. but how exactly?

Cheers.


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Fri Mar 03, 2017 6:14 pm  (#18) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16170
Zero01 wrote:
OK great stuff, thanks Rod, I'll try that out soon.
Do I have to uninstall 2.8 before I can use 2.9.5?

EDIT: Well, I installed it with 2.8 also on my system, did as you said and seems like it's working, I found the 'filters' folder in C:\Users\''me''\Desktop\Gimp-2.9.5-std\portable - and you're saying i can save presets for GEGL in there.. but how exactly?

Cheers.

Just start the GIMP-2.9 portable program. Open any filter under the "Filters" menu that has a G next to it. For instance Filters>Artistic>Cartooner
The dialog will open . Create your settings and click on the "+" next to the drop down menu to name and add your preset. :)

_________________
Image


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Fri Mar 03, 2017 6:21 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 06, 2017
Posts: 204
OK, I see the ''G'' 's you're talking about now.. will investigate tomorrow... I like the way the gradients appear as you're defining them, very cool.. appreciate your help Rod, ta very much. :)


Top
 Post subject: Re: Can I save GEGL custom presets?
PostPosted: Sat Mar 04, 2017 3:21 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: Jan 06, 2017
Posts: 204
So I've saved some presets now into the 'filters' folder and i can see that they are there (SETTINGS files) - now, how would I re-call any particular setting to apply to a new image for example? Thanks.


Top
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group