Re: Gimp-Python with no ui? (external script)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 30, 2006 at 03:31:12PM +0200, Ministeyr wrote:
> Hello,
> 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()

Just write a pygimp script normally, and call it via gimp's batch mode.

-Yosh
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux