It is currently Tue Jul 21, 2026 8:52 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Thu Feb 13, 2020 3:42 pm  (#1) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2610
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.

Attachment:
can-edge.jpg
can-edge.jpg [ 214.62 KiB | Viewed 4265 times ]


Attachments:
canny-linux-64bit.zip [11.01 KiB]
Downloaded 237 times
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: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Thu Feb 13, 2020 4:16 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1430
Location: FInland
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.


Top
 Post subject: Re: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Fri Feb 14, 2020 5:13 am  (#3) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2610
Quote:
...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.


Top
 Post subject: Re: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Fri Feb 14, 2020 6:12 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1837
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?


Top
 Post subject: Re: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Fri Feb 14, 2020 8:13 am  (#5) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2610
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


Attachments:
canny.zip [11.02 KiB]
Downloaded 213 times
Top
 Post subject: Re: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Fri Dec 12, 2025 9:59 am  (#6) 
Offline
New Member

Joined: Dec 12, 2025
Posts: 2
Hello. Can you please upload the original source .c file? I need to recompile this for the latest gimp libs. Thanks


Top
 Post subject: Re: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Fri Dec 12, 2025 2:20 pm  (#7) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2610
Theslees wrote:
Hello. Can you please upload the original source .c file? I need to recompile this for the latest gimp libs. Thanks

There you go: Remember it is for Gimp 2.x

Attachment:
canny.zip [11.49 KiB]
Downloaded 66 times


Top
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group