I would like to use PyGimp for my project.
Ideally, I would want to write a stand-alone Python program that would
manipulate images using gimp libraries. I had few attempts at doing it,
but I was always getting errors...
[tomek@tlr25 tomek]$ python
Python 2.1.1 (#1, Aug 30 2001, 17:36:05)
[GCC 2.96 20000731 (Mandrake Linux 8.1 2.96-0.61mdk)] on linux-i386
Type "copyright", "credits" or "license" for more information.
>>> from gimpfu import *
>>> img = gimp.image(640, 480, RGB)

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion
`hash_table != NULL' failed.

LibGimp-ERROR **: could not find handler for message: 5

Is it possible to run it stand-alone, that is from a Python program,
without executing gimp? If so, how can I do it?

I have found a method to do it in perl - by using extension-perl-server,
but nothing like this was present for Python. If it was not written so
far, would it be difficult to do it?


Gimp-developer mailing list

Reply via email to