Post Reply 

[Easy] Sobel plugin parameters

Oct 6, 2014, 18:41
Post: #1
[Easy] Sobel plugin parameters
My code:

white=pdb.gimp_image_get_layer_by_name(img,"horizontal")
pdb.plug_in_sobel(img,white,1,0,0)

white=pdb.gimp_image_get_layer_by_name(img,"vertical")
pdb.plug_in_sobel(img,white,0,1,1)

What I want:
I want layer named ""vertical" to become a layer with only vertical edges detected and layer named "horizontal" layer with only horizontal edges detected. However no matter what I do I always get both vertical and horizontal lines in horizontal layer an dsometihng strang ein vertical.
Find all posts by this user
Quote this message in a reply
Oct 6, 2014, 20:33
Post: #2
RE: [Easy] Sobel plugin parameters
I think you are right about the order + sign is always working(no matter if you put 0 or 1).


#ofnuts_magic

Sorry for spamming this forum but google can't help me
Find all posts by this user
Quote this message in a reply
Oct 7, 2014, 19:09
Post: #3
RE: [Easy] Sobel plugin parameters
Congrats, you have reported your first Gimp bug and it's already fixed(*). It wasn't a problem of order but a problem of index...

https://bugzilla.gnome.org/show_bug.cgi?id=738037

(*) available only in nightly build, for the time being, until they publish 2.8.16 or 2.10.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Any plugin for open multiple image in paint.net shinprog 1 325 Oct 31, 2017 11:38
Last Post: paynekj
  plugin save for web in Gimp 2.9.6 Dkk 1 191 Oct 19, 2017 09:02
Last Post: paynekj
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 314 Jul 11, 2017 07:26
Last Post: ythgilb
  Color menuitems in script or plugin Barbie 4 572 Sep 29, 2014 09:51
Last Post: paynekj
  GAP Plugin error windows 8.1gap_ decode_mplayer.exe entry point not found. thegreenman 1 778 Sep 8, 2014 11:55
Last Post: rich2005

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS