GIMP Chat http://gimpchat.com/ |
|
Inserting pdb.python_gegl command in my code http://gimpchat.com/viewtopic.php?f=9&t=19801 |
Page 1 of 2 |
Author: | Pocholo [ Sat Jan 29, 2022 5:45 pm ] |
Post subject: | Inserting pdb.python_gegl command in my code |
Hi guys! I'm trying to implement a Gegl command in my code and it's not working . Using the Bump map filter I have this: Code: Select all pdb.python_gegl(img, layer, What am I missing here? Thank you in advance! |
Author: | MareroQ [ Sat Jan 29, 2022 9:55 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code |
Hi Pocholo. Gegl bump-map needs aux input (need to save layer or use existing image with full path). https://www.gimp-forum.net/Thread-GEGL- ... 1#pid19961 I don't know Your target, but it's easier to use gegl emboss like bump-map. |
Author: | Pocholo [ Sat Jan 29, 2022 10:17 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code |
Thanks a lot MareroQ. Nice to see you still around here to help! |
Author: | MareroQ [ Sat Jan 29, 2022 10:40 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code (Solved) |
Also for me it works when instead of: =False or =True You use =0 or =1 respectively. Example: Code: Select all def sample_bump(image, layer): |
Author: | Pocholo [ Sat Jan 29, 2022 11:55 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code (Solved) |
Thank you my friend! Believe it yourself, you're a good teacher! |
Author: | dinasset [ Sun Jan 30, 2022 4:17 am ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code (Solved) |
Pocholo, could you post here the complete plug-in source of a python filter which makes use of pdb.python_gegl? |
Author: | Pocholo [ Sun Jan 30, 2022 10:36 am ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code (Solved) |
Hi dinasset! I tryin to create a Night scene (Not finished yet). Can you check the Solid Noise gegl command? I thought I had this one right but is not applying to the image. Code: Select all #!/usr/bin/env python |
Author: | dinasset [ Sun Jan 30, 2022 11:01 am ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code (Solved) |
Downloaded and launched on my samj's Gimp, but I get this error message: "Procedure 'python-gegl' not found". What should I do? |
Author: | dinasset [ Sun Jan 30, 2022 11:10 am ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code (Solved) |
Stopping before "gegl" I get this image: Attachment: outcome_up_to_gegl.png [ 384.55 KiB | Viewed 839 times ] |
Author: | Pocholo [ Sun Jan 30, 2022 4:46 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code (Solved) |
Sorry I had to stepped out. Wi the first Bump-map "gegl" and the "Moon glow" this what you supposed to get with no error. After the glow I want to use Solid Noise "gegl" in a whole layer and I don't know what I'm missing in the this gegl line. It does not produce anything when it should give me a layer filled with Solid Noise. |
Author: | Pocholo [ Sun Jan 30, 2022 5:44 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code (Solved) |
When I use Gegl graph, the procedure work fine and it give me the Solid Noise... But when I run the plugin it doesn't give me the same result, it just give me the created white layer. |
Author: | Pocholo [ Sun Jan 30, 2022 6:01 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code (Solved) |
dinasset wrote: Downloaded and launched on my samj's Gimp, but I get this error message: "Procedure 'python-gegl' not found". What should I do? I used the "gegl_command.py" that is made up of paynekj's simpler version. |
Author: | dinasset [ Mon Jan 31, 2022 1:26 am ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code |
Is it a separate .py plug-in? It's not embedded in your code. Anyhow, I do not have "noise-solid" among the operations (C) I could test, hence I can't help. edit: If you post here the separate .py plug-in, I can try to test your calls to the gegl functions |
Author: | dinasset [ Mon Jan 31, 2022 8:29 am ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code |
In some way I had the possibility to try solid noise: you are right, Pocholo, no action, it could be the interface is broken. |
Author: | cli345 [ Mon Jan 31, 2022 1:36 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code |
Hello, The plugin that enables pdb.python-gegl is here. |
Author: | dinasset [ Mon Jan 31, 2022 2:05 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code |
Thanks cli345, installed. I'll see whether I can understand why some Pocholo calls do not execute properly (but I doubt, I'm not an expert). |
Author: | Pocholo [ Mon Jan 31, 2022 2:14 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code |
That is the one I have installed, cli345. But the procedure "Solid Noise" is not working all all. Code: Select all pdb.python_gegl(img, wavesLayer, |
Author: | dinasset [ Mon Jan 31, 2022 3:16 pm ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code |
Tested many types of noise, none works (not only noise-solid...). Tested plasma, it works. |
Author: | MareroQ [ Tue Feb 01, 2022 7:43 am ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code |
Also for me without success. I tried out the noise-solid version of Cli, Kevin, Samj and Jehan (plug-in-goat-exercise-python for Gimp-2.99). Of all the Gegl filters, only 85 work for me (using Python code). |
Author: | Pocholo [ Tue Feb 01, 2022 11:43 am ] |
Post subject: | Re: Inserting pdb.python_gegl command in my code |
Thank you dinasset and MareroQ for taking the time to test "Gegl". @MareroQ: Do you have the list of the Gegl filter that work? If you don't mind, Can you post the list? I'll thank you in advance. |
Page 1 of 2 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |