如何使用 Script-fu 选择“描边路径”中的描边线- “描边线”对话
在 Gimp 2.6 中有一个“编辑”-> “描边路径”对话框。在此对话框中,有一个“描边线”区域,其中包含线宽、端盖样式、连接样式、斜角限制等选项。
我如何使用 script-fu 中的“描边线”选项描边路径。我在程序浏览器中找不到它。
谢谢
In Gimp 2.6 there is an "Edit" -> "Stroke Path" dialog. Within this dialog there is a "Stroke Line" area with options for line-width, Cap style, Join Style, Mitre limit, etc.
How would I stroke a path with the "stroke line" options from script-fu. I couldn't find it in the procedure browser.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果你的意思是 script-Fu 大约有 14 个下标,比如 gear,star someing。
我还尝试在 script-fu (XXX.scm) 中添加一些行来修复它(默认路径描边太宽)。
我找到了这个网址:http://www.gimptalk.com/forum/viewtopic。 php?t=51559
“不可能。你唯一能做的就是用活动画笔描边。
-Rob A>”
我将画笔从默认(11)更改为 3 ,再次尝试脚本,一切都是好的。
谢谢罗布A
If you mean script-Fu is about 14 subscripts like gear,star someing.
I also try to add some lines into script-fu (XXX.scm) to fix it (default path stroke is too width).
I found this url: http://www.gimptalk.com/forum/viewtopic.php?t=51559
"Not possible. The only thing you can do is stroke with the active brush.
-Rob A> "
And I changed brush from default(11) to 3 , try script again, every thing is OK.
thanks Rob A
(差不多两年后)这仍然是不可能的(或者至少我找不到任何解决方案)。显然这是行不通的,所以我想出了这个。
诀窍是插件将路径保存为 SVG,然后再次将 SVG 作为图像导入。它应该在大多数情况下都可以工作,但基本上已经过测试,可以在我的非常简单的情况下工作:)
(是的,我有点通过正则表达式搜索和替换 XML 来破解。可能。最好使用 xml 库来做到这一点:))
(almost 2 years later) this is still impossible (or at least I couldn't find any solution). Obviously this won't do, so I came up with this.
The trick is that the plug-in saves the path as an SVG, and then imports the SVG as image again. It should kind of work in most cases, but basically has been tested as to work in my, pretty simple, case :)
(and yes, I'm kind of hacking my way through, regex-search-and-replacing XML. Probably better to do this with an xml library :))