call gimp's autocrop function from python

Could you please share your findings? I would also like to learn how to
script Blender once I start get going on Gimp.

  Finally I made it. Please find enclosed a solution.

Cheers,

                          Nils

autocrop.py (879 Bytes)

script-autocrop.scm (359 Bytes)

Hey Nils,

With a minute modification I have mad it work here, too. “gimp_version == 2.6.6”

Can’t we directly access python-fu scripts without using that scm file? To me it seems easier in this way. However still don’t know how to externally access python-fu.

Thanks for sharing your results.

Gökhan

···

On Wed, Jun 24, 2009 at 12:31 PM, Nils Wagner <nwagner@…2659…> wrote:

Could you please share your findings? I would also like to learn how to

script Blender once I start get going on Gimp.
Finally I made it. Please find enclosed a solution.

Cheers,

                     Nils