GIMP Chat http://gimpchat.com/ |
|
pm_jean_texture_embroidery_text.py http://gimpchat.com/viewtopic.php?f=9&t=18681 |
Page 1 of 1 |
Author: | Pocholo [ Fri Aug 14, 2020 9:48 pm ] | |||
Post subject: | pm_jean_texture_embroidery_text.py | |||
I seem around here a couple of "Embroidery efects", I want to share another own script using just GIMP filters, (Sinus filter, layerfx.py). I recreated the denim texture and the embroidery effect using "Sinus filter". Any way, comments are welcome! Ps **Make sure you have the "layerfx.py" before you run this script. ![]() **Multi line text added
|
Author: | Issabella [ Sat Aug 15, 2020 1:01 am ] | ||
Post subject: | Re: pm_jean_texture_embroidery_text.py | ||
I'm having problems with this one.
|
Author: | racer-x [ Sat Aug 15, 2020 5:00 am ] |
Post subject: | Re: pm_jean_texture_embroidery_text.py |
"Stroke Warning" Getting Error: Illegal value for argument 2. Code: Select all Traceback (most recent call last): |
Author: | MareroQ [ Sat Aug 15, 2020 6:41 am ] | ||
Post subject: | Re: pm_jean_texture_embroidery_text.py | ||
Little problem ![]()
|
Author: | Pocholo [ Sat Aug 15, 2020 9:02 am ] |
Post subject: | Re: pm_jean_texture_embroidery_text.py |
It seem that the Layerfx on this particular line it's not working for Issabellas portable version and for Racer Linux? Code: Select all pdb.python_layer_fx_stroke(img, copyLayer, ![]() I like MareroQ multi line effect, so I added to the second version with an extra line spacing and multi lines. ![]() |
Author: | Issabella [ Sat Aug 15, 2020 9:56 am ] | ||
Post subject: | Re: pm_jean_texture_embroidery_text.py | ||
Sorry Pocholo, I get a new error message.
|
Author: | nelo [ Sat Aug 15, 2020 10:14 am ] |
Post subject: | Re: pm_jean_texture_embroidery_text.py |
As advised by Mareroq - put your layers in legacy mode before running the script |
Author: | Issabella [ Sat Aug 15, 2020 10:23 am ] | ||
Post subject: | Re: pm_jean_texture_embroidery_text.py | ||
MareroQ and nelo, thanks for your help. I have one only layer before running the script. and how set the layer to legacy mode? if if it is there, the script doesn't work properly either Thanks.
|
Author: | MareroQ [ Sat Aug 15, 2020 12:24 pm ] |
Post subject: | Re: pm_jean_texture_embroidery_text.py |
In my opinion, two changes to the code are needed because 2x the new mode was used for calling layerFX (safest as values, not name - because there are different versions). In pm_jean_texture_embroidery_text version 2 line 115 replace: Code: Select all 42, #mode-dodge to: Code: Select all 16, # LAYER-MODE-DODGE-LEGACY (16) line 142 replace: Code: Select all LAYER_MODE_MULTIPLY, #mode to: Code: Select all 3, # LAYER_MODE_MULTIPLY_LEGACY (3) |
Author: | Issabella [ Sat Aug 15, 2020 2:21 pm ] | ||
Post subject: | Re: pm_jean_texture_embroidery_text.py | ||
MareroQ, Thank you so much for your help. I changed the lines you said in spite of being afraid of changing a code I don't understand, I did it and ... YES!!!!!! it works great now and no problem at all. I'm happy as I like this effect so much. Good!!!!! ![]()
|
Author: | Issabella [ Sat Aug 15, 2020 3:12 pm ] | ||
Post subject: | Re: pm_jean_texture_embroidery_text.py | ||
Thanks Pocholo.
|
Author: | Graechan [ Sat Aug 15, 2020 6:36 pm ] |
Post subject: | Re: pm_jean_texture_embroidery_text.py |
Still fails on my machine
![]() |
Author: | racer-x [ Sat Aug 15, 2020 7:02 pm ] |
Post subject: | Re: pm_jean_texture_embroidery_text.py |
Try the new LayerFX that MareroQ just modified. It should work then without modifications. viewtopic.php?f=9&t=18682#p254675 |
Author: | Pocholo [ Sat Aug 15, 2020 7:05 pm ] |
Post subject: | Re: pm_jean_texture_embroidery_text.py |
@ Issabella, I'm glad you took MareroQ advise and got it fixed. Thanks for the comment! ![]() I'm running the script on the original version GIMP 2.10.20 and it do not distinguish if it is in "Default Mode or Legacy Mode. But I see the error showed in Issabella and Graechan is on the Portable version. I don't know what SamJ changed in his portable version that make this constant error in the Mode option. @ Graechan, I guess you're going to do what MareroQ explained, change the Layer Mode option to Legacy. |
Author: | Graechan [ Sat Aug 15, 2020 7:50 pm ] |
Post subject: | Re: pm_jean_texture_embroidery_text.py |
Pocholo everything now OK, after studying the error and your file I added the layerFX-2-10 file, sorry to bother you with what I should have fixed
|
Author: | Pocholo [ Sat Aug 15, 2020 11:17 pm ] |
Post subject: | Re: pm_jean_texture_embroidery_text.py |
No problem my friend, I'm glad you fixed it. ![]() |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |