It is currently Thu Mar 28, 2024 3:27 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Editing scripts
PostPosted: Mon Aug 05, 2019 9:10 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
Attachment:
Screenshot_2019-08-05_08-56-34.png
Screenshot_2019-08-05_08-56-34.png [ 649.5 KiB | Viewed 7209 times ]


I am editing some non-working scripts and have come to an edit for which I have not found any information. As I try to run several scripts I am getting an unbound variable error, the biggest being the WHITE-IMAGE-FILL, which I believe I have resolved. But this following error, I'm not sure how to proceed.

Can someone advise on editing this?

EDIT: Well, this may be bigger than I thought. I correct on and another error pops up. Now on another script after the white-image-fill edit I am getting another, trans-image-fill. Are these scripts no longer usable in GIMP or do they require extensive editing?

_________________
I refuse to be confused, but am often confused at this refusal.


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: Editing scripts
PostPosted: Mon Aug 05, 2019 9:26 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1823
Cartoonize.scm works fine here in Gimp 2.10.12. I only tested default values.


Top
 Post subject: Re: Editing scripts
PostPosted: Mon Aug 05, 2019 9:48 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
Got a copy of the script? To compare?

_________________
I refuse to be confused, but am often confused at this refusal.


Top
 Post subject: Re: Editing scripts
PostPosted: Mon Aug 05, 2019 10:06 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
you' re probably missing the greycstoration plug-in.
Not sure if it's still around. I think it was replaced by GMIC and its functions.

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: Editing scripts
PostPosted: Mon Aug 05, 2019 12:56 pm  (#5) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2414
For everyone.

Paul Sherman http://www.gimphelp.org latest fix for those old scripts.

Script-fu package update - 50th release
Saturday, 05/11/2019: (edit - thats May for us not in the US)
Removed all deprecation warnings,
readying for GIMP 3 release :-)
114 scripts


I do not advise installing all of them, get the zip unpack and carefully choose just the ones you consider essential.

@nixnine
Quote:
Can someone advise on editing this?
EDIT: Well, this may be bigger than I thought. I correct on and another error pops up. Now on another script after the white-image-fill edit I am getting another, trans-image-fill. Are these scripts no longer usable in GIMP or do they require extensive editing?


There is a good chance that what you require has already been fixed by Paul Sherman.

However, always a however ;)

CarTOONize.scm (210_effects_CarTOONize.scm in the above) runs ok without greycstoration plugin. it is an optional pre-filter.

You can use greycstoration plugin in linux. As a stand-alone plugin it works fine. One of my favourites from older times. Unfortunately it registers in a strange way, with no parameters, so it applies only defaults when called from a script. There is a small difference with it on / off. but in my opinion not enough for the bother.

Want to try it. Should work with your 'buntu. Unzip the attached, CarTOONize-linux.scm goes in ~/.config/GIMP/2.10/scripts greycstoration64 goes in ~/.config/GIMP/2.10/plug-ins.

Attachment:
cartoonize.jpg
cartoonize.jpg [ 222.93 KiB | Viewed 7163 times ]


Note: the script still fails if you enable 'Halftone' - IMHO time to dump these old scripts.


Attachments:
CarTOONize-linux-greyc-64-bit.zip [95.94 KiB]
Downloaded 285 times

_________________
Image
Top
 Post subject: Re: Editing scripts
PostPosted: Mon Aug 05, 2019 11:30 pm  (#6) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1195
I been having for years the "Greycstoration plugin" from "Photocomix-resources" at
https://www.deviantart.com/photocomix-r ... n-74248127

Still works for Gimp 2.10. See if is useful for you.

_________________
https://www.deviantart.com/pocholo17
Image


Top
 Post subject: Re: Editing scripts
PostPosted: Wed Aug 07, 2019 12:58 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
It is probably still a temporary update - more changes are needed because it contains references to old plugins (greyc, gmic, unsharp mask) and a lot of outdated procedures (are acting temporarily):

WARNING: Plug-in "script-fu.exe"

called deprecated procedure 'gimp-image-raise-layer'.
It should call 'gimp-image-raise-item' instead!

called deprecated procedure 'gimp-levels'.
It should call 'gimp-drawable-levels' instead!

called deprecated procedure 'gimp-levels-stretch'.
It should call 'gimp-drawable-levels-stretch' instead!

called deprecated procedure 'gimp-brightness-contrast'.
It should call 'gimp-drawable-brightness-contrast' instead!

called deprecated procedure 'gimp-image-add-layer'.
It should call 'gimp-image-insert-layer' instead!

called deprecated procedure 'gimp-edit-named-paste-as-new'.
It should call 'gimp-edit-named-paste-as-new-image' instead!

called deprecated procedure 'gimp-desaturate-full'.
It should call 'gimp-drawable-desaturate' instead!

called deprecated procedure 'gimp-threshold'.
It should call 'gimp-drawable-threshold' instead!

called deprecated procedure 'gimp-invert'.
It should call 'gimp-drawable-invert' instead!

called deprecated procedure 'gimp-convert-rgb'.
It should call 'gimp-image-convert-rgb' instead!


Old 32bit plugins (unsharp-mask.exe for "Halftone" and greycstoration.exe) work well for me and are attached.
All changes (updating of procedures) are about one hour of work - I don't know if it was worth it...


Attachments:
Cartonize Gimp 2.10.png
Cartonize Gimp 2.10.png [ 14.56 KiB | Viewed 7078 times ]
210_effects_CarTOONize.zip [211.54 KiB]
Downloaded 311 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Editing scripts
PostPosted: Wed Aug 07, 2019 2:27 am  (#8) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7694
Location: On the other side of this screen
rich2005 wrote:
For everyone.

Paul Sherman http://www.gimphelp.org latest fix for those old scripts.

Script-fu package update - 50th release
Saturday, 05/11/2019: (edit - thats May for us not in the US)
Removed all deprecation warnings,
readying for GIMP 3 release :-)
114 scripts


I do not advise installing all of them, get the zip unpack and carefully choose just the ones you consider essential.


Must have a closer look at these when I get home

_________________


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Editing text in a PSD

1

No new posts Editing a Trifold Brochure

9

No new posts Editing metadata in python

1

No new posts So GEGL was made for nodes editing...

3

No new posts Resolution loss editing GIFs

2



* Login  



Powered by phpBB3 © phpBB Group