It is currently Sat Jul 06, 2024 7:38 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: CarTOONize script for 2.10 [solved and working]
PostPosted: Tue Jul 17, 2018 7:28 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
GIMP Version: 2.10.4
Operating System: Linux64 Xubuntu 18.04
GIMP Experience: Intermediate Level

List any relevant plug-ins or scripts:
CarTOONize.scm

List any ERROR messages you received:
CarTOONize Message
Error while executing script-fu-CarTOONize:
Error: eval: unbound variable: WHITE-IMAGE-FILL




Would appreciate if some coder/hacker fixed the CarTOONize script to work with 2.10.x
It's by far the nicest cartoon filter in my opinion, the one that ships with Gimp is ewwful.
Launched Gimp using --pdb-compat-mode=warn
and checked the error console, didn't get further than having same what the normal error window says.

Attached script, it was originally in the registry.gimp but that place has been down quite some time.
Saulgoode's Tooninator is also pretty nice. I remembered that the Paul Sherman pack for 2.10 includes it.
But it does same thing than the original, the uppermost layer is not correct.
In 2.8 top layer is transparent with black edges, in 2.10 you end up with a black layer and some white edges.
Like the script execution was aborted before end, but there is no error message.

Thousand thanks if anyone has a fix.


Attachments:
CarTOONize.scm [10.63 KiB]
Downloaded 340 times


Last edited by Nidhogg on Tue Jul 17, 2018 11:25 am, edited 1 time in total.
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: CarTOONize script fix request
PostPosted: Tue Jul 17, 2018 8:03 am  (#2) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
Here's how I would approach it...

Open the script in a text editor and find WHITE-IMAGE-FILL
        (gimp-drawable-fill old-selection WHITE-IMAGE-FILL))


Now we know it's being passed to the function gimp-drawable-fill, so look that up in the Procedure Browser: Help >> Procedure Browser
Attachment:
Untitled.png
Untitled.png [ 35.15 KiB | Viewed 3739 times ]

Where we can see that acceptable values for the fill-type include FILL-WHITE

So I suggest changing WHITE-IMAGE-FILL to FILL-WHITE


Top
 Post subject: Re: CarTOONize script fix request
PostPosted: Tue Jul 17, 2018 8:33 am  (#3) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2439
That is the starter for a couple of other things.

Attached working in my gimp 2.10 flatpak, no guarantees


Attachments:
CarTOONize.scm [10.85 KiB]
Downloaded 424 times

_________________
Image
Top
 Post subject: Re: CarTOONize script fix request
PostPosted: Tue Jul 17, 2018 11:20 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Thanks for tip paynekj, I'll try the procedure browser next time when I bump into error.
It didn't spring to mind to use it, I have only modified setting values and such with Notepad++
Works perfectly rich2005, thank you very much :)


Top
 Post subject: Re: CarTOONize script for 2.10 [solved and working]
PostPosted: Wed Jul 18, 2018 4:46 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
This is a great Cartoon filter, I like the effect. Thanks rich2005 for making it work in Gimp 2.10. Tested it here on a picture of my Brother's HellCat Challenger.

Attachment:
cartoonize.JPG
cartoonize.JPG [ 955.15 KiB | Viewed 3611 times ]


Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Astronomy plugins / script fu not working crashing

1

No new posts Attachment(s) Resynthesizer Not Working

2

No new posts Attachment(s) Gimpchat not working...

25

No new posts Bevel not working

7

No new posts G'MIC version: 2.9.1 not working...?

2



* Login  



Powered by phpBB3 © phpBB Group