Re: [Gimp-developer] Gimp-Python with no ui? (external script)
On Thu, Mar 30, 2006 at 03:31:12PM +0200, Ministeyr wrote: I need to make an external Python administration script, wich occasionnally uses gimp functionnality (especially to convert to/from xcf files). Is there a way to use this functionnality without starting the ui? I need something like that: import gimp_noui as gimp gimp.startgimp()#start the gimp in background process pdb.file_load(whatever...) #do something here... pdb.file_save(whatever...) gimp.stopgimp() Thanks. what os will you be using this on? carol ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Gimp-Python with no ui? (external script)
what os will you be using this on? carol I'm developping it for and under a Debian-testing system (on amd k7), and plan to use it possibly also on an Ubuntu Linux. I won't need windows support. Ministeyr ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Gimp-Python with no ui? (external script)
On Thu, Mar 30, 2006 at 07:59:08PM +0200, Ministeyr wrote: Just write a pygimp script normally, and call it via gimp's batch mode. -Yosh I would prefer another solution, since I have some processing to do in the external script and possibly a bunch of data to transfer back and forth, so it would make the script quite complex to have to use the batch interpreter. Why would it? By the way, I thought the batch mode only understood scheme, so it would make the whole thing even more complicated. One line of scheme to call your python script won't increase the complexity appreciably. I hope there is a simpler solution possible. Well, it's kind of hacky yes, but it's not *complex*. If you want something better, why don't you contribute it? -Yosh ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer