GimpFu-v3 icon indicating copy to clipboard operation
GimpFu-v3 copied to clipboard

is this the official replacement of pygimp in gimp master?

Open braindevices opened this issue 5 years ago • 2 comments

I guess the pygimp is not going to be supported or ported for python3? Is this the official repo? Is this going to be merged into gimp repo or do you plan to provide this as 3rd party plugin in the future?

braindevices avatar Jul 22 '20 10:07 braindevices

Not official (i.e. not supported by gimp.org), for now. Gimp.org does not have plans to develop it on their own, or to merge this.

But it works perfectly well as a 3rd party plugin. Now, in Gimp 2.99. No compiling involved, easy to install. See the readme. (But this is unstable, and won't be stable until Gimp 3 is stable.)

A discussion of becoming official (merged into their repo, supported and packaged by gimp.org) is https://gitlab.gnome.org/GNOME/gimp/-/issues/4717 Brief summary of that: 1) To become official: someone must commit to gimp.org that they will maintain it. 2) it is not a good idea, since it is specific to Python and not cross-language with other interpreted languages.

I am convinced that GimpFu (a simplified API) is still a good idea , is feasible, and is relatively easy to maintain. The implementation is rather abstract: requires understanding of the Adaptor pattern and eval().

It could be a maintenance nightmare because the target audience is: Gimp users who ordinarily are not programmers. A maintainer could be inundated by issues of deprecations, model changes, and the few omitted features like pixel_rgns, e.g. "my old plugin used 'TRUE' but now I must write 'True'." See the gimpfu/docs/gimpfuPluginPortingGuide for an idea of the limitations and complexity of maintaining backward compatibility.

bootchk avatar Jul 22 '20 13:07 bootchk

I tried a little bit official python api in gimp3. For batch processing, I think I still like GimpFu, it wraps a lot details and let us focus on actual procedure we want to build. Excellent work!

braindevices avatar Jul 22 '20 17:07 braindevices