与 Neo 不同,我不知道 python-fu。我也是 GIMP 的新手,无法将消息发送到控制台:
def test(image, drawable):
pdb.gimp_message("This is displayed as a message")
pdb.gimp_progress_set_text("This message is displayed in the status bar")
我刚收到消息:
!测试警告
这显示为一条消息
这两个命令都需要字符串,所以我不确定我是否在某个地方漏掉了一个技巧。