【问题标题】:Start Gimp plug-in at start-up在启动时启动 Gimp 插件
【发布时间】:2012-10-06 05:47:57
【问题描述】:

我正在尝试创建一个可以与 Gimp 同步的 Blender 插件。所以,我有一个用于 Gimp 的 python-fu 插件,我想实现这个:当我从 Blender(使用 Python)打开 Gimp 时,Gimp 应该立即运行这个插件(在启动时)!但是,我该怎么做呢?

【问题讨论】:

    标签: python plugins blender gimp python-fu


    【解决方案1】:

    这是一种重复:How to use GIMP inside a Python script?(至少接受的答案也回答了这个问题)。

    以下文章也可能会有所帮助:Python-Fu #4 - Using Python-Fu in Gimp Batch Mode

    【讨论】:

    • 好吧,它与这个一起工作: cmd = " (python-fu-bgsync RUN-NONINTERACTIVE)"; subprocess.Popen(['gimp', '-b', cmd])... 真的很奇怪,你这样注册它(python_fu)然后你这样称呼它(python-fu)...... WTF?无论如何,谢谢!!!
    猜你喜欢
    • 2018-05-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多