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

Plastic or Glass for 2.10

Tue Sep 04, 2018 2:01 pm

Lylejk wanted plastic or glass for 2.10

Image

Re: Plastic or Glass for 2.10

Tue Sep 04, 2018 3:13 pm

Thank you so much, Nidhogg. :tyspin :hi5

Re: Plastic or Glass for 2.10

Tue Sep 04, 2018 3:50 pm

You're welcome, happy autumnal gimping :)

Re: Plastic or Glass for 2.10

Tue Sep 04, 2018 6:42 pm

I downloaded your 2.10 version but in my 2.10.6 it throws an error as shown below. It also now appears in a new alpha to logo menu not script-fu/alpha to logo.

Re: Plastic or Glass for 2.10

Tue Sep 04, 2018 8:27 pm

oldmangrumpy wrote:I downloaded your 2.10 version but in my 2.10.6 it throws an error as shown below.
It also now appears in a new alpha to logo menu not script-fu/alpha to logo.

Have you checked for any duplicate scripts?

Re: Plastic or Glass for 2.10

Tue Sep 04, 2018 8:37 pm

Wallace - yes; I deleted Graechan's previous version then replaced it with Nidhogg's version. I also checked the code re the menu location.

Re: Plastic or Glass for 2.10

Tue Sep 04, 2018 8:40 pm

oldmangrumpy wrote:Wallace - yes; I deleted Graechan's previous version then replaced it with Nidhogg's version.
I also checked the code re the menu location.

Okay,
sounds good.
This is probably a coding issue.

Re: Plastic or Glass for 2.10

Tue Sep 04, 2018 10:05 pm

A bit different that Graechan's, but I do like it, Nidhogg; thanks for sharing. :)

Re: Plastic or Glass for 2.10

Tue Sep 04, 2018 10:17 pm

lylejk wrote:A bit different that Graechan's, but I do like it, Nidhogg; thanks for sharing. :)

Looks good.
Perhaps it's not a coding issue after all. :oops:

Re: Plastic or Glass for 2.10

Wed Sep 05, 2018 4:46 am

I get other different error message from OMG's. The filter doesn't produce any result and gives this message:
Can someone help?

Re: Plastic or Glass for 2.10

Wed Sep 05, 2018 4:50 am

Image :)
A bit different that Graechan's, but I do like it, Nidhogg; thanks for sharing.

Unfortunately Lyle. Looks like all the ones Graechan did for us will have to be done again :( Unless of course they work in 2.10, He lost them when Gimp Scripts went down.

Works fine in my 2.10.6

Re: Plastic or Glass for 2.10

Wed Sep 05, 2018 5:22 am

@OMG, the menu entries are original.
Went through the script this time and fixed your error, and Issabella's.
Should be okay now.

Re: Plastic or Glass for 2.10

Wed Sep 05, 2018 6:27 am

Thank you so much Nidhogg. You're so efficient! :yes

Re: Plastic or Glass for 2.10

Wed Sep 05, 2018 1:58 pm

Seams to be more noticeable on large images, but when I run this script-fu, it produces a square region in the upper left quadrant. Not sure why. :)

Re: Plastic or Glass for 2.10

Wed Sep 05, 2018 3:03 pm

I tested with your image and it turned out perfect.

Image

Re: Plastic or Glass for 2.10

Wed Sep 05, 2018 3:42 pm

Strange indeed. Might be because I enabled GPU or I need a larger memory setting in the configuration file. I'll try again. :)

Re: Plastic or Glass for 2.10

Wed Sep 05, 2018 3:46 pm

It's indeed OpenCL that's the culprit. I wonder if there's a way to disable it for the script-fu or work with the setting enabled? Anyway, not sure how much I gain with it enabled so might disable it later. At least I now know. :)

Re: Plastic or Glass for 2.10

Wed Sep 05, 2018 8:28 pm

Nidhogg - thanks for correcting the script; works OK now.

Re: Plastic or Glass for 2.10

Wed Sep 05, 2018 10:11 pm

I agree, OMG. Also discovered that you can turn on and off OpenCL without having to restart GIMP. I'll just do so when I need to. Again, thanks a heap for recreating this cool Script-fu, Nidhogg. :)

Re: Plastic or Glass for 2.10

Fri Sep 07, 2018 5:44 am

Works perfect Nidhogg! Thanks.

Image
Post a reply