Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

chisel.scm on gimp 2.10

Tue May 29, 2018 4:43 am

Only a small note.
I tried to use chisel.scm on samj's 2.10.2 pack, got one error on the parameter "VIRTUAL" used when calling plug-in-bump-map.

Simply replaced LINEAR with the equivalent value 0, and the filter completes the run without any additional error.

Pls note: I didn't deeply test it, but I tought this simple comment deserves a post, in case someone is tempted to use chisel.scm:
replace LINEAR with 0 at statement (filter line) # 148
so you can use it.

Re: chisel.scm on gimp 2.10

Tue May 29, 2018 4:58 pm

Yes that works nicely, thanks. Tried it in both appImage and flatpak. It didn't work before this simple modification.

Re: chisel.scm on gimp 2.10

Tue May 29, 2018 7:00 pm

Thank you, Dinasset. I tried to use Chisel and Carve and could not get it to work. Will try your fix.


Edit: I ran it several times after adding your fix. No problems at all!! Thank you so much!!!!

Using Windows 10. 64 bit Gimp 2.10 (Samj)

Re: chisel.scm on gimp 2.10

Fri Jun 01, 2018 1:45 am

A friend of mine (running Gimp 32bits) told me that the mentioned simple change did not work (still getting errors on compatibility issues).
Hence I decided to replace those statements which have non-2.10 Language (FILL, MODE) and prepared an amended version, which was double-checked without errors.
Hence I post it here for those interested.
chisel - dn.scm
(9.39 KiB) Downloaded 287 times

Re: chisel.scm on gimp 2.10

Fri Jun 01, 2018 1:48 am

PS: remove the previous version before installing this one, because the registering function is the same (hence you would have a duplicated entry)
script-fu-register "script-fu-chisel"

Re: chisel.scm on gimp 2.10

Fri Jun 01, 2018 8:45 am

Thank you so much Dinasset. :tyspin

Re: chisel.scm on gimp 2.10

Fri Jun 01, 2018 5:02 pm

What would be real great, is a list of non-compatible commands along with the correct replacements. That way I can modify problem scripts.

Example:
LINEAR = 0

Re: chisel.scm on gimp 2.10

Sat Jun 02, 2018 12:53 pm

You can start GIMP with parameter:
gimp --pdb-compat-mode=warn

Then when GIMP is on run your script in question and it will give you a list of what's deprecated and by what to replace in the error console. You can then check the parameters of the procedure.

Re: chisel.scm on gimp 2.10

Sat Jun 02, 2018 8:59 pm

Dinasset, is your new version for 32 bit only or can it be used for 64 bit also?

Re: chisel.scm on gimp 2.10

Sat Jun 02, 2018 10:29 pm

It's OK for both 64 and 32 bits (I am on 64bits, I use it and it works)

Re: chisel.scm on gimp 2.10

Wed Jul 11, 2018 5:08 pm

Thank you Dinasset! :bigthup :hi5
Post a reply