It is currently Mon Jul 01, 2024 5:29 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Request- Make a scriptfu out of my X Window stroke outline hack
PostPosted: Sat Jul 09, 2022 10:33 pm  (#1) 
Online
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1454
Linux machines that use the X Window manager have something called xdotool that can record window inputs and replay them. I use this to do the following in Gimp

1. Alpha to select Original Image
2. Make a new layer
3. Name it Effect
4. Move it behind the original
5. Press B for Brush tool

then I press a custom key binding to stroke from selection. You need to set this manually.


Video Footage of it here. I am manually hitting a key to stroke.
https://cdn.discordapp.com/attachments/ ... 232917.mp4


I hope someone makes this into a script fu that way anyone can use it. I've been doing this for a full year.


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: Request- Make a scriptfu out of my X Window stroke outline hack
PostPosted: Sun Jul 10, 2022 3:07 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
You have a very good occasion here to learn script-fu/python-fu :hehe

- The script can also do the stroking
- Personally I never use "Edit > Stroke selection", because the result is usually jerky. "Select >To path" + "Edit > Stroke path" is a lot cleaner (and if the layer is a text layer, "Alpha to selection" + "Select >To path" should be replaced by "Layer > Text to path".

_________________
Image


Top
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Stroke: how to remove space between test & stroke

3

No new posts Attachment(s) stroke selection/stroke path

2

No new posts Just brainstorm with diagrams and hack it out

5

No new posts Attachment(s) Need outline help

9

No new posts Can ScriptFu or anything in Gimp automate the creation of layer groups

7



* Login  



Powered by phpBB3 © phpBB Group