It is currently Wed Oct 28, 2026 4:18 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 44 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: to fellow script coders.
PostPosted: Sat Sep 26, 2015 12:12 am  (#41) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
The following image shows how the selection progresses within the script. From left to right the image shows the result of 1) stroking the path with a 1-pixel pencil, 2) bordering the selection by "20", 3) applying Levels with gamma equal to "0.5".

Attachment:
steps.png
steps.png [ 10.36 KiB | Viewed 1144 times ]

I do not see any evidence of a "dip" in the resulting selection mask.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: to fellow script coders.
PostPosted: Sat Sep 26, 2015 11:05 am  (#42) 
Offline
GimpChat Member
User avatar

Joined: Feb 14, 2012
Posts: 426
If I take out the word Radius from the line (gimp-selection-border image radius) then it gives me some error messages and I end up with a 10 pixel selection on the canvas like this: I suspect that somehow this is the selection that is being used by the rest of the script to do the border function. Or maybe my computer isn't doing the line that says (gimp-selection-none image) that comes after it.
Attachment:
NoRadius.jpg
NoRadius.jpg [ 77.53 KiB | Viewed 1131 times ]
here


Top
 Post subject: Re: to fellow script coders.
PostPosted: Sat Sep 26, 2015 1:35 pm  (#43) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Which version of GIMP are you using? Please try using 2.8.14 (if you use an earlier version, you may encounter this bug).

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: to fellow script coders.
PostPosted: Sat Sep 26, 2015 2:36 pm  (#44) 
Offline
GimpChat Member
User avatar

Joined: Feb 14, 2012
Posts: 426
Yay! it works! Thanks!
Attachment:
SharpSun.jpg
SharpSun.jpg [ 21.38 KiB | Viewed 1112 times ]

I had to overlap the open path for the circle sun because it was creating a blank spot. I drew in the selection with the airbrush black and then did a [Colors] [Map] [Gradient Map].
The program seems to run a little slower though. I had 2.8.10 before.


Top
Post new topic Reply to topic  [ 44 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group