(define (script-fu-create-camo image colA colB))
(script-fu-register
"script-fu-create-camo"
"Camoflauge"
"Creates a camoflauge pattern on an image"
"Jeffrey Aylesworth <jeffrey@aylesworth"
"Copyright (c) 2009 Jeffrey Aylesworth"
"2009/12/31"
""
SF-IMAGE "Image" 0
SF-COLOR "Colour 1" '(50 0 0)
SF-COLOR "Colour 2" '(0 50 0))
(script-fu-menu-register "script-fu-create-camo" "<Image>/Filters/Render")
我在Mac OS 10.6上使用Gimp 2.6。脚本保存为~/gimp-2.6/scripts/camoflauge.scm
,脚本不会在菜单中创建新项目。我做错了什么?
答案 0 :(得分:2)
我创建了一些我在mac上使用的脚本fu脚本。我总是把它们放在:
/Applications/Gimp.app/Content/Resources/share/Gimp/2.0/scripts/
在我的注册表中,我会在"<Image>/Filters/Render"
前加上下划线,所以_"<Image>/Filters/Render"
希望这会有所帮助,因为我一直在搞这个。