Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Line Sketch?
#1
Video 
Okay, in 2.8.22, I had this fabulous script-fu filter called Line Sketch. Since "upgrading" to 2.10.4 (maybe 44; not sure) I can't seem to find the corresponding filter.

The effect I'm going for is a photo to something like this:
   
What am I missing, and who am I missing it with?
Thanks in advance for your help.
Oh, long time user, first time needing help(with this version)....
Reply
#2
Not part of stock Gimp AFAIK.So you would have to track down the source of the one you using in 2.8 (you can possibly just move the .scm/.py to your 2.10 profile).
Reply
#3
I know the script, comes from the Gimp 2.8 collection that was here: http://www.gimphelp.org/ Not in the Gimp 2.10 collection because it does not work. I just tried fixing the deprecated procedures so it runs without errors but for some reason offsets the image. Strange because it works in my Gimp 2.9.9 ok

Attached the original if you want to try it. Maybe someone can fix.


Attached Files
.zip   FU_sketch_line-sketch.scm.zip (Size: 1.52 KB / Downloads: 281)
Reply
#4
(10-05-2018, 09:04 PM)rich2005 Wrote: I know the script, comes from the Gimp 2.8 collection that was here: http://www.gimphelp.org/ Not in the Gimp 2.10 collection because it does not work. I just tried fixing the deprecated procedures so it runs without errors but for some reason offsets the image. Strange because it works in my Gimp 2.9.9 ok

Attached the original if you want to try it. Maybe someone can fix.

Thanks Rich. I'm a rookie when it comes to scheme. My hope is that someone else here can make it work. Do we have a repository for Script-fu's? On a related note, what's the best Python Fu server?
Reply
#5
(10-06-2018, 02:13 PM)Batman Wrote: Do we have a repository for Script-fu's? On a related note, what's the best Python Fu server?

Still not sure why that old script-fu does not work in Gimp 2.10, however

You can get a close effect to the script using the Gimp 2.10 filters. This screenshot takes you through the stages: https://i.imgur.com/wTHbxUD.jpg

1. Filters -> Edge Detect -> Image Gradient with the output mode set to both.

2. Colors -> Brightness and Contrast with both increased 60/90 in the example.

3. Colors -> Linear Invert to finish.

For a very large set of Filters of all sorts try the Gimp gmic plugin http://www.gmic.eu

examples: https://i.imgur.com/nmTLkZh.jpg

Not many useful collections of scripts/plugins remaining:

Ofnuts has a large set of python plugins: Very useful utilities.

http://sourceforge.net/projects/gimp-too...s/scripts/
http://sourceforge.net/projects/gimp-pat...s/scripts/

and here: A variety of, mostly artistic (if you can call them that Wink ) python plugins and script-fu https://gimplearn.net/
Reply
#6
Great!!! Thanks for the help! I ended up going back to 2.8.22 and working with that to meet a deadline. I may try to create a fu for the current version when I have time.

Has anyone invented time travel yet?
Reply
#7
(10-05-2018, 09:04 PM)rich2005 Wrote: I know the script, comes from the Gimp 2.8 collection that was here: http://www.gimphelp.org/ Not in the Gimp 2.10 collection because it does not work. I just tried fixing the deprecated procedures so it runs without errors but for some reason offsets the image. Strange because it works in my Gimp 2.9.9 ok

Attached the original if you want to try it. Maybe someone can fix.

Rich, change the second parameter in "edge" plug-in call, wrap=1 does not work in 2.10
line should look as
(plug-in-edge 1 theImage theDraw 2 2 0)
Reply
#8
Thanks, that fixes that strange offset.

I do try and fix the deprecated procedures, only 4 in this but gimp-(drawable)-curves-spline which used integers in the array, now uses float.  I can change the array but now get a black layermask, so I am doing something wrong. Life is too short, the attached is the same old script with that one line altered. Therefore, still relying on using legacy mode.

OK, gave up on the array and put the values straight into gimp-drawable-curves-spline parameters.

attached working in Gimp 2.10.6 linux I assume it works in Windows.

Edit: and you can find a python version by dinasset here: http://gimpchat.com/viewtopic.php?f=9&t=...18#p232297


Attached Files
.zip   FU_sketch_line-sketch-2106.scm.zip (Size: 1.48 KB / Downloads: 285)
Reply


Forum Jump: