问题就在标题里。 到目前为止,我拥有的源代码:
from gimpfu import *
def add_stuff(watermark, opacity, footer, file_out):
pass
register(
'add-stuff',
N_('Adds stuff'),
'Adds watermark and Footer',
'Malte Fischer',
'AM-Solutions',
'2019',
_('Add Stuff'),
'*',
[
(PF_STRING,"watermark","Watermark","Path of the watermark image"),
(PF_INT,"opacity","Opacity","Opacity of the Watermark"),
(PF_STRING,"footer","Footer","Path of the footer image"),
(PF_STRING,"file_out","Output","Output path and name of the image")
],
[],
add_stuff,
menu = "<Image>/Filters/")
main()
保存在{gimp installation}/lib/gimp/2.0/plug-ins/add-stuff/add下-东西.py你知道吗
先谢谢你
语法错误:
更多提示:
plug-ins
目录中。你知道吗相关问题 更多 >
编程相关推荐