GIMP Chat
http://gimpchat.com/

Request- Make a scriptfu out of my X Window stroke outline hack
http://gimpchat.com/viewtopic.php?f=9&t=20013
Page 1 of 1

Author:  contrast_ [ Sat Jul 09, 2022 10:33 pm ]
Post subject:  Request- Make a scriptfu out of my X Window stroke outline hack

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.

Author:  ofnuts [ Sun Jul 10, 2022 3:07 am ]
Post subject:  Re: Request- Make a scriptfu out of my X Window stroke outline hack

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".

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/