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

Canny Edge Detection Gimp 2.10 Linux 64 bit

Thu Feb 13, 2020 3:42 pm

For those interested. Linux 64 bit version. At first I thought it did not work. Needed an extra click on the menu shortcut and it can generate error messages.

However FWIW zipped and attached. All-in-one example.

can-edge.jpg
can-edge.jpg (214.62 KiB) Viewed 2742 times

Re: Canny Edge Detection Gimp 2.10 Linux 64 bit

Thu Feb 13, 2020 4:16 pm

Thank you. Yeah I forgot to mention the double-click problem. But I remember placing G'mic on the main menu earlier and it did the same thing.
The one I compiled yesterday was for 2.8. Tried first on 2.10 but there was lot of deprecated calls.
How do you fix them? I replaced them in the .c file but didn't manage to fix it.

Re: Canny Edge Detection Gimp 2.10 Linux 64 bit

Fri Feb 14, 2020 5:13 am

...Tried first on 2.10 but there was lot of deprecated calls.
How do you fix them? I replaced them in the .c file but didn't manage to fix it.


Compiled in a 'buntu 18.04 (VM) Gimp 2.10 and yes, plenty of deprecated call warnings, but they are just warnings not errors. Proving the plugin works with Gimp compatibility, I just ignore them. The plugin is not alone ;) I get plenty warnings from more recent code, gimp_gmic or BIMP for example.

Re: Canny Edge Detection Gimp 2.10 Linux 64 bit

Fri Feb 14, 2020 6:12 am

At first, it wouldn't work no matter how many times it was clicked. It was grayed out. I then realized I had to remove the Alpha Channel first. Then it worked.

How to move this to Filters > Edge-Detect?

Re: Canny Edge Detection Gimp 2.10 Linux 64 bit

Fri Feb 14, 2020 8:13 am

racer-x wrote: How to move this to Filters > Edge-Detect?


There is actually a "To Do" comment in the code for that, so recompiled. Try the attached, find in Filters -> Edge-Detect -> Canny
Post a reply