Gimp-Forum.net
ofn-outline-layer - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: ofn-outline-layer (/Thread-ofn-outline-layer)

Pages: 1 2


ofn-outline-layer - Ofnuts - 10-18-2019

A quickie to add an outline around layer contents:

[attachment=3295]
At the usual place.

Enjoy.


RE: ofn-outline-layer - Espermaschine - 10-23-2019

I havent tried it, but how is it different from stroking a path ?


RE: ofn-outline-layer - Ofnuts - 10-23-2019

It is actually stroking a path. It's just a bit more automated.

PS: working on an "inner" border which is a tougher nut to crack because you have to replace the edge pixels of the existing text by the edge pixels of the added outline (you cannot just overlay them). Especially if you want this to take in account an existing selection. Not undoable by hand but the script will certainly be useful.


RE: ofn-outline-layer - Ofnuts - 10-23-2019

Updated version with an "inside" option.


RE: ofn-outline-layer - FredSchenk - 05-13-2020

(10-18-2019, 12:13 PM)Ofnuts Wrote: A quickie to add an outline around layer contents:


At the usual place.

Enjoy.

Would it be possible to do this non-destructive? By creating a new layer underneath (outside border) or above (inside border) the selected layer?

And would it also be possible to select the outline color and give it a feather effect?

(05-13-2020, 01:39 PM)FredSchenk Wrote:
(10-18-2019, 12:13 PM)Ofnuts Wrote: A quickie to add an outline around layer contents:


At the usual place.

Enjoy.

Would it be possible to do this non-destructive? By creating a new layer underneath (outside border) or above (inside border) the selected layer?

And would it also be possible to select the outline color and give it a feather effect?

As a reference, a script which should do this, but gives an error on my system: https://pete.nu/software/gimp-outliner/


RE: ofn-outline-layer - rich2005 - 05-13-2020

Quote:As a reference, a script which should do this, but gives an error on my system: https://pete.nu/software/gimp-outliner/

There is a reference to an updated version of that script here: https://www.gimp-forum.net/Thread-Text-shadow-effect?pid=18184#pid18184


RE: ofn-outline-layer - Ofnuts - 05-14-2020

(05-13-2020, 01:39 PM)FredSchenk Wrote:
(10-18-2019, 12:13 PM)Ofnuts Wrote: A quickie to add an outline around layer contents:


At the usual place.

Enjoy.

Would it be possible to do this non-destructive? By creating a new layer underneath (outside border) or above (inside border) the selected layer?

And would it also be possible to select the outline color and give it a feather effect?

(05-13-2020, 01:39 PM)FredSchenk Wrote:
(10-18-2019, 12:13 PM)Ofnuts Wrote: A quickie to add an outline around layer contents:


At the usual place.

Enjoy.

Would it be possible to do this non-destructive? By creating a new layer underneath (outside border) or above (inside border) the selected layer?

And would it also be possible to select the outline color and give it a feather effect?

As a reference, a script which should do this, but gives an error on my system: https://pete.nu/software/gimp-outliner/

No, because you cannot do this properly with two layers, at least for the "inside" case. Consider a red layer to which you add a blue outline. The edge pixels of the initial layer are partially transparent red. If you want a blue "inside" outline, the edge pixels of the result will have to be partially transparent blue with no red component. If you want to keep the red layer, the edge pixels of the result will be purple (and a bit too opaque).

So such a solution would involve a third layer, above the initial layer and below the outline layer, whose sole purpose is to make the edge pixels of the initial layer completely transparent (Delete blend mode or else, but after figuring out how to line a line of fully opaque pixels pixels that covers exactly these edge pixels).


RE: ofn-outline-layer - mahvin - 05-20-2020

Love this plugin. I came across a small problem when it involves sharp serif fonts with the letter A. You can avoid the point at the top by outlining in layers of smaller line widths, however if you choose to zero miter limit, it gives the text a beveled outline (not my goal).

[Image: 1pwFiry.png]



RE: ofn-outline-layer - Ofnuts - 05-20-2020

Known problem. Even worse with M or W. You can usually pick a medium miter limit  (4-5) to avoid this.


RE: ofn-outline-layer - Danimal67 - 07-07-2024

(05-20-2020, 07:26 PM)Ofnuts Wrote: Known problem. Even worse with M or W. You can usually pick a medium miter limit  (4-5) to avoid this.

Hi, sorry if i've missed the obvious and to resurrect a 4 year old thread, but....

Is there a Mac OS version of this script? Or something similar?
I'm using the drop shadow method for outlining which is ok, but would like to try this method.

Former photoshop hobbyist.

Thanks folks,
Dan