I'm trying to create a Blender add-on that syncs it with Gimp. So, I have a python-fu plug-in for Gimp and I want to achieve this: when I open Gimp from Blender(with Python), Gimp should run this plug-in immediately(at start-up)! But, how can I do that?
Asked
Active
Viewed 187 times
1 Answers
0
This is a sort of duplicate of: How to use GIMP inside a Python script? (at least the accepted answer also answers this question).
The following article may also be helpful: Python-Fu #4 - Using Python-Fu in Gimp Batch Mode.

Community
- 1
- 1

Pedro Romano
- 10,973
- 4
- 46
- 50
-
Well, it worked with this: cmd = " (python-fu-bgsync RUN-NONINTERACTIVE)"; subprocess.Popen(['gimp', '-b', cmd])... Really strange, you register it like this(python_fu) and you call it like this(python-fu)... WTF? Anyway, thanks!!! – Antoni4040 Oct 06 '12 at 11:15