It is currently Sat Jun 20, 2026 6:56 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 20 posts ] 
Author Message
 Post subject: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Fri Apr 19, 2019 7:54 pm  (#1) 
Offline
New Member

Joined: Apr 19, 2019
Posts: 1
I understand that GimpScripts is indefinitely unavailable.
Does anyone have a link to the QT version of Dinasset's Mosiac Stained Glass filter?
Thanks in advance.


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: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Fri Apr 19, 2019 8:49 pm  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14043
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
xailizbol wrote:
I understand that GimpScripts is indefinitely unavailable.
Does anyone have a link to the QT version of Dinasset's Mosiac Stained Glass filter?
Thanks in advance.

I could only find this:
Attachment:
DIEGO_Mosaic_Stained_Glass.zip [8.01 KiB]
Downloaded 368 times

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Sat Apr 20, 2019 12:15 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
This is the QT version.
Attachment:
DIEGO_MOSAIC_Mosaic_Stained_Glass_QT210.7z [6.74 KiB]
Downloaded 385 times


This is the "non standard" pattern it uses..
Attachment:
DopeCrystals04seamless.jpg
DopeCrystals04seamless.jpg [ 287.99 KiB | Viewed 12721 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Sat Apr 20, 2019 1:58 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2661
Location: California
Wallace wrote:
xailizbol wrote:
I understand that GimpScripts is indefinitely unavailable.
Does anyone have a link to the QT version of Dinasset's Mosiac Stained Glass filter?
Thanks in advance.

I could only find this:
Attachment:
DIEGO_Mosaic_Stained_Glass.zip


I've tried both sets of filters and gimp 2.10.10 just isn't reading them but on the upside, I still have Diego's other filters like impasto look, enhanceskin, colourcolour, Lines look, and draw random drops. I have them in my plugins folder in case you're wondering.


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Sat Apr 20, 2019 8:19 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Oct 10, 2018
Posts: 191
Location: Charlottesville Virginia
Dear Friends in the Distance, I'm using GIMP 2.10.10 on Windows 10. I've often had issues running many of Dinasset's Python scripts. I _believe_ but I certainly don't know for sure, that the problem might be that the Python initializing string:

#!/usr/bin/env python

does not appear as the first line in the script, but only after an explanatory comment block above the main script.

In both of the above examples, neither showed up in the menus until I cut the initializing string and pasted it at the top of the script file. Both versions then showed up in the menus and the QT210 version worked fine. [I also downloaded the DopeCrystals04seamless.jpg and put it in the patterns folder.] For whatever reason, the first version [in Wallace's post] gives the following error: "File "C:\Program Files\GIMP 2\- TRIAGE\DIEGO_Mosaic_Stained_Glass.py", line 567, in Mosaic_Stained_Glass
pdb.plug_in_gmic(newImage, Preprocessed_Layer, 1, # 1=input only active layer
error: procedure not found"." ["TRIAGE" is my try-it-and-see-if-it-works folder for new scripts.]

I don't know whether my experience with the "#!/usr/bin/env python" line has been the result of a problem with GIMP or scripting or Python or Windows 10 or something else. [A deep echoing voice in my head says, "No, Neurolurker, it's only a problem for you ... "] From the other users in the many previous messages about Dinasset's fantastic scripts, it was very clear that the plugins worked for them without issues, and so far as I recall, no other user mentioned it.


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Sun Apr 21, 2019 12:37 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
The original version posted by Wallace can't work, because it makes use of the old G'MIC interface.
If the QT version doesn't work, try neurolurkes's suggestion or try the attached file, from which I removed the initial comments.
Attachment:
DIEGO_MOSAIC_Mosaic_Stained_Glass_QT210.7z [5.42 KiB]
Downloaded 539 times


Other people had the same problem (not me and many other I know).
Happy Easter.

_________________
"Where am I ?"


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Sun Apr 21, 2019 12:40 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2661
Location: California
dinasset wrote:
The original version posted by Wallace can't work, because it makes use of the old G'MIC interface.
If the QT version doesn't work, try neurolurkes's suggestion or try the attached file, from which I removed the initial comments.
Attachment:
DIEGO_MOSAIC_Mosaic_Stained_Glass_QT210.7z


Other people had the same problem (not me and many other I know).
Happy Easter.


Happy Easter to you Diego. I will try this version again.


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Mon Apr 22, 2019 7:16 am  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16037
neurolurker wrote:
Dear Friends in the Distance, I'm using GIMP 2.10.10 on Windows 10. I've often had issues running many of Dinasset's Python scripts. I _believe_ but I certainly don't know for sure, that the problem might be that the Python initializing string:

#!/usr/bin/env python

does not appear as the first line in the script, but only after an explanatory comment block above the main script.

In both of the above examples, neither showed up in the menus until I cut the initializing string and pasted it at the top of the script file. Both versions then showed up in the menus and the QT210 version worked fine. [I also downloaded the DopeCrystals04seamless.jpg and put it in the patterns folder.] For whatever reason, the first version [in Wallace's post] gives the following error: "File "C:\Program Files\GIMP 2\- TRIAGE\DIEGO_Mosaic_Stained_Glass.py", line 567, in Mosaic_Stained_Glass
pdb.plug_in_gmic(newImage, Preprocessed_Layer, 1, # 1=input only active layer
error: procedure not found"." ["TRIAGE" is my try-it-and-see-if-it-works folder for new scripts.]

I don't know whether my experience with the "#!/usr/bin/env python" line has been the result of a problem with GIMP or scripting or Python or Windows 10 or something else. [A deep echoing voice in my head says, "No, Neurolurker, it's only a problem for you ... "] From the other users in the many previous messages about Dinasset's fantastic scripts, it was very clear that the plugins worked for them without issues, and so far as I recall, no other user mentioned it.

Exactly what i had to do to get Bytes and Pixels filters to work as well.
Word Art
Vector Path
Animated Brush
Spirograph
Glossy Web Button
Simple Button
All now work after adding the Python initializing string.

_________________
Image


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Mon Apr 22, 2019 3:28 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1837
Dinasset, your Stained Glass Filter shoots out an error for me in Gimp 2.10.10: RuntimeError: maximum recursion depth exceeded while calling a Python object

Traceback (most recent call last):
  File "/tmp/tmp.8NQFRpbp7C/gimp/2.0/python/gimpfu.py", line 740, in response
    dialog.res = run_script(params)
  File "/tmp/tmp.8NQFRpbp7C/gimp/2.0/python/gimpfu.py", line 361, in run_script
    return apply(function, params)
  File "/home/racer/.config/GIMP-AppImage/2.10/plug-ins/DIEGO_MOSAIC_Mosaic_Stained_Glass_QT210.py", line 73, in Mosaic_Stained_Glass_QT210
    info_msg ("info: I am running "+systemrunning)
  File "/home/racer/.config/GIMP-AppImage/2.10/plug-ins/DIEGO_MOSAIC_Mosaic_Stained_Glass_QT210.py", line 22, in info_msg
    info_msg ("INFO: "+msg)
  File "/home/racer/.config/GIMP-AppImage/2.10/plug-ins/DIEGO_MOSAIC_Mosaic_Stained_Glass_QT210.py", line 20, in info_msg
    currenth = pdb.gimp_message_get_handler()
RuntimeError: maximum recursion depth exceeded while calling a Python object


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Tue Apr 23, 2019 12:07 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
Sorry, you're right.
You - and all users not running Windows - please replace it with the attached amended version:
Attachment:
DIEGO_MOSAIC_Mosaic_Stained_Glass_QT210.7z [5.42 KiB]
Downloaded 446 times

_________________
"Where am I ?"


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Tue Apr 23, 2019 3:41 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1837
OK, it works now thanks.

Attachment:
stained_glass.jpg
stained_glass.jpg [ 829.95 KiB | Viewed 6365 times ]


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Tue Apr 23, 2019 4:28 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
Thanks for double-checking.
Should some Windows user encounter the same problem, please download the amended version of post # 10.

_________________
"Where am I ?"


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Wed Nov 27, 2024 10:21 am  (#13) 
Offline
New Member

Joined: Nov 27, 2024
Posts: 2
Hi all,

This post may be dead, but I was trying to use your plugin. It sadly runs into an issue:
Traceback (most recent call last):
File "R:\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 741, in response
dialog.res = run_script(params)
File "R:\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 362, in run_script
return apply(function, params)
File "C:\Users\user\AppData\Roaming\GIMP\2.10\plug-ins\DIEGO_MOSAIC_Mosaic_Stained_Glass_QT210.py", line 455, in Mosaic_Stained_Glass_QT210
pdb.gimp_context_set_gradient ("FG to BG (Hardedge)")
RuntimeError: A(z) „FG to BG (Hardedge)” színátmenet nem található


Something with Hardedge. I have used the amended version which was posted here. Can anyone assist?


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Wed Nov 27, 2024 11:22 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 06, 2020
Posts: 399
Location: The Netherlands
( Gimp.2.10.38)

Could it be that you don't have the pattern? If you place that in the pattern folder, it works


Attachments:
DIEGO_MOSAIC_Mosaic_Stained_Glass_QT210.zip [293.83 KiB]
Downloaded 54 times
Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Wed Nov 27, 2024 12:30 pm  (#15) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 298
Does it work with GIMP in English?


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Wed Nov 27, 2024 12:38 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
quietreader he asked a very good question
viewtopic.php?f=9&t=10525&p=241201&hilit=Hardedge#p241201

_________________
Image


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Wed Nov 27, 2024 2:56 pm  (#17) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 298
The culprit is this
"FG to BG (Hardedge)" [Forground to Background]

In languages other than English the wordings and their abbreviation might be different and the script thus does not know what to do. Also "Hardedge" might be called differently in other languages.
Therefore switching to English language might solve the problem.


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Wed Nov 27, 2024 3:00 pm  (#18) 
Offline
New Member

Joined: Nov 27, 2024
Posts: 2
I have been trying real hard to switch to english, i figured it out. Only that I don't know how to change to ENG in GIMP

Edit: I did it.
Picture looks horrifying :D its all red and yellow dotted. maybe I did something wrong?


Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Thu Nov 28, 2024 2:51 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 14037
Location: Spain, Aragón
I am ppy to see you Dinasset acting in the forum. :hi5
I did a try with this wonderful filter. :paint
Thanks Dinasset.


Attachments:
Mother and Child_DN_Stained Glass.jpg
Mother and Child_DN_Stained Glass.jpg [ 3.68 MiB | Viewed 3845 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: Dinasset's Stained Glass Filter for G'MIC QT
PostPosted: Thu Nov 28, 2024 7:38 am  (#20) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16037
Nice to see you again dinasset! :)
This is a very nice filter. I did get an error running it in Windows at first, but i removed the Alpha Channel and it worked great.

Image

_________________
Image


Top
Post new topic Reply to topic  [ 20 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group