Gimp:启动没有图像的脚本 [英] Gimp: start script without image

查看:104
本文介绍了Gimp:启动没有图像的脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我正在尝试为Gimp编写一个python插件,但是如果没有首先加载图像就不会启动...我该怎么办?

Well, I'm trying to write a python plug-in for Gimp, but it wont start without first loading an image... What can I do about that?

推荐答案

正如我对您的其他问题发表评论 Gimp:为什么我不能注册? - 问题是当你进行注册调用时,你在图像类型参数上传递*值。

As I commented on your other question Gimp: why can't I register this? - the problem is that you are passing the "*" value on the "image type" parameter when you are making your register call.

只需删除它,然后传递一个空字符串。

Just drop it, and pass an empty string instead.

这篇关于Gimp:启动没有图像的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆