It is currently Sat Jun 22, 2024 8:43 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Outline Layer Contents by Ofnuts
PostPosted: Tue Oct 22, 2019 7:13 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Ofnuts, one of the great grandmasters in Gimpluggin' universe has delighted us, once again with a useful new python plug-in called "Outline Layer Contents". It's like one of the Layer Effects styles, stroke but better! At least considering this: You have 3 different join styles. Miter, Round and Bevel.

Thanks man. :coolthup

Tested with Arial Heavy 150
Line Width 16, outside the border. (The other option is over the border.)
Miter limit 2, to prevent spikes. using 0 or 1 with miter join style turns the outline to bevel style.
I'm wondering why the other spike is taller. Big M is not completely symmetrical?

Image


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: Outline Layer Contents by Ofnuts
PostPosted: Tue Oct 22, 2019 8:29 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4750
The spikes are actually from the angles under the M. The outline produced is like this (the white line is the actual text border):

Attachment:
Miter.png
Miter.png [ 25.09 KiB | Viewed 4166 times ]


I can't think of a good way to make sure this never happens, but you can always reduce the miter limit (2 is a bit excessive, 8 would have been enough).

Since your "M" looks symmetric, my hypothesis is that you did the outline on a rasterized layer, not on the original text layer. On the latter, the script uses the path from the text, while with a rasterized layer, it does an alpha-to-selection and select-to-path, and in that case the symmetry of anchors is far from guaranteed.

This said, nothing earth-shattering in the script, everything can be done manually in a few clicks.

_________________
Image


Top
 Post subject: Re: Outline Layer Contents by Ofnuts
PostPosted: Wed Oct 23, 2019 11:01 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Yeah, didn't realize the layer had been rasterized with layer to image size before running the plug-in.
Thanks for clarification, works perfectly.


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Need outline help

9

No new posts Selecting outline of image

2

No new posts How do I keep the outline smooth on transparent text GIF?

2

No new posts Script-fu select outline of image inside png

1

No new posts Attachment(s) GEGL Outline Glow Types - potential plugin idea

1



* Login  



Powered by phpBB3 © phpBB Group