GIMP Chat http://gimpchat.com/ |
|
Learn GEGL graph http://gimpchat.com/viewtopic.php?f=10&t=19463 |
Page 1 of 4 |
Author: | cli345 [ Wed Jun 23, 2021 10:29 am ] |
Post subject: | Learn GEGL graph |
Hello, ![]() Here is a tutorial to learn the "GEGL graph" filter. EDIT: For the motivations, you can read this thread first. EDIT (thanks to rich2005): Warning: this filter doesn't make a single effect, but it enables you to program almost all effects and combine them. 1) First steps:
|
Author: | cli345 [ Wed Jun 23, 2021 10:39 am ] |
Post subject: | Re: Learn GEGL graph |
Note: Some operations don't belong to GEGL. For these ones, you have to prefix the operation with "gimp:" (for example, "gimp:desaturate"). Have fun! To be continued... |
Author: | cli345 [ Thu Jun 24, 2021 9:56 am ] |
Post subject: | Re: Learn GEGL graph |
2) How to add parameters: You wish to add parameters but you don't know which exist ![]() ![]()
CAUTION: "id=blahblah" and "ref=blahblah" look like parameters and are written like parameters but they are NOT, they are special operations (We will see later their use). (If you are very curious and cannot wait, "id=blahblah" is "save" and "ref=blahblah" is "retrieve") Have fun! To be continued... |
Author: | PixLab [ Thu Jun 24, 2021 8:35 pm ] |
Post subject: | Re: Learn GEGL graph |
I like the way you're teaching, by showing that the cat can walk on our keyboard and the result will be that we won't break anything but get help, is very nice ![]() |
Author: | Wallace [ Fri Jun 25, 2021 1:04 am ] |
Post subject: | Re: Learn GEGL graph |
Thanks cli345 for taking the time to put this together.
![]() It's been added to our tutorial index. |
Author: | cli345 [ Fri Jun 25, 2021 5:28 am ] |
Post subject: | Re: Learn GEGL graph |
Thanks for your valuable feedback! ![]() 3) How to chain multiple effects: You simply list all the effects each in one line like this: Attachment: chain.jpg [ 36.41 KiB | Viewed 18179 times ] ![]() Note: We will see later that it's possible to get all intermediate stages back. Have fun! To be continued... |
Author: | nelo [ Sat Jun 26, 2021 1:42 am ] |
Post subject: | Re: Learn GEGL graph |
Thanks for doing this tutorial. I find it very helpful. |
Author: | cli345 [ Sat Jun 26, 2021 9:49 am ] |
Post subject: | Re: Learn GEGL graph |
Thanks, nelo, for your valuable feedback! ![]() 4) How to save and retrieve any intermediate stage: To save an intermediate stage, simply add the special operation "id=chosenName" where the intermediate stage occurs. For example: Attachment: intermediate1.jpg [ 33.51 KiB | Viewed 18096 times ] For example: Attachment: intermediate2.jpg [ 34.22 KiB | Viewed 18096 times ] ![]() Have fun! To be continued... |
Author: | mackenzieh [ Sun Jun 27, 2021 12:07 pm ] |
Post subject: | Re: Learn GEGL graph |
I'm curious as to what this plugin does. |
Author: | PixLab [ Mon Jun 28, 2021 4:49 am ] |
Post subject: | Re: Learn GEGL graph |
Excellent! Thanks cli345 (out of curiosity, does cli in your nickname stand for "command line interface"?) |
Author: | Nidhogg [ Mon Jun 28, 2021 5:49 am ] |
Post subject: | Re: Learn GEGL graph |
PixLab wrote: Excellent! Thanks cli345 (out of curiosity, does cli in your nickname stand for "command line interface"?) Maybe, but I'm guessing it's derived from Claude and the French city of Lyon. This looks interesting ![]() |
Author: | cli345 [ Mon Jun 28, 2021 10:06 am ] |
Post subject: | Re: Learn GEGL graph |
Thank you, mackenzieh, for your question. Rich2005 has answered here (Thanks, rich2005). This diagram is aimed to explain my last (crazy) example: Attachment: pipelineExplain1b.jpg [ 18.08 KiB | Viewed 10804 times ] (EDIT: I've changed the diagram) |
Author: | mackenzieh [ Mon Jun 28, 2021 6:40 pm ] |
Post subject: | Re: Learn GEGL graph |
cli345 wrote: Thank you, mackenzieh, for your question. Rich2005 has answered here (Thanks, rich2005). This diagram is aimed to explain my last (crazy) example: Attachment: pipelineExplain1.jpg I think I get it now. ![]() |
Author: | cli345 [ Tue Jun 29, 2021 10:13 am ] |
Post subject: | Re: Learn GEGL graph |
5) How to combine multiple effects: Some operations (for example, "multiply", "subtract") enable you to combine two results. These operations accept a special parameter : "aux=[ ... ]" (No space around "=", a mandatory space after "[" and before "]"). For example, one of these operations is "subtract" (this operation does the same job as "subtract" layer mode). In "GEGL graph", write: Code: Select all id=myStart Notes:
Have fun! To be continued... |
Author: | Nidhogg [ Tue Jun 29, 2021 3:20 pm ] |
Post subject: | Re: Learn GEGL graph |
I was just scratching my blockhead if it's possible to change layer modes somehow, having workflows that include stress, fattal and mantiuk filters with changed layer modes. This is fantastic information, now I can convert some of them into GEGL Graph one-clickers. Thank you Claude. ![]() |
Author: | ico4498 [ Wed Jun 30, 2021 2:23 am ] |
Post subject: | Re: Learn GEGL graph |
great stuff, thanks! |
Author: | cli345 [ Thu Jul 01, 2021 11:41 am ] |
Post subject: | Re: Learn GEGL graph |
Thanks, for your feedback! This diagram is aimed to explain my last example: Attachment: pipelineExplain2.jpg [ 26.77 KiB | Viewed 10727 times ] |
Author: | cli345 [ Fri Jul 02, 2021 8:40 am ] |
Post subject: | Re: Learn GEGL graph |
The last diagram can be summarized by: Attachment: pipelineExplain2b.jpg [ 13.06 KiB | Viewed 10688 times ] |
Author: | cli345 [ Wed Jul 07, 2021 9:39 am ] |
Post subject: | Re: Learn GEGL graph |
6) Practice Code this "GEGL graph": Attachment: practice1.jpg [ 38.27 KiB | Viewed 10608 times ] Here are loose fragments for easy copy-pastes: Code: Select all noise-reduction Warning: At each letter typed, the whole effect is recomputed. So, it's better to write in a text editor and copy-paste onto the "GEGL graph" window. Have fun! To be continued... |
Author: | Nidhogg [ Wed Jul 07, 2021 1:07 pm ] |
Post subject: | Re: Learn GEGL graph |
cli345 wrote: Warning: At each letter typed, the whole effect is recomputed. So, it's better to write in a text editor and copy-paste onto the "GEGL graph" window. Have fun! To be continued... Good hint, I disable preview when testing longer chain of effects and use a small image. Few times when editing a longer chain somewhere in between, it got stuck and I had to click the GEGL Graph exit button which resulted in crash. Practice result Attachment: GEGL-Practice.png [ 445.82 KiB | Viewed 10594 times ] |
Page 1 of 4 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |