Skip to content

Releases: kamilburda/gimp-python-wrappers

6.1

07 Apr 13:07

Choose a tag to compare

  • pypdb: It is now possible to create config objects for layer effects (Gimp.DrawableFilterConfig), i.e. GeglProcedure.create_config() now properly creates a proper instance. This e.g. allows using GimpUi.prop_choice_combo_box_new for choice arguments for layer effects. Note the implementation is slow as it requires creating a temporary image and layer.

6.0

15 Mar 22:22

Choose a tag to compare

6.0
  • Bumped up the GIMP version requirement to 3.2 (due to a critical bug preventing plug-in registration from working for GIMP 3.2 or later).
  • Updated the generated stubs to include new features introduced in GIMP 3.2.
  • pypdb: Added support for layer effects introduced in GIMP 3.1.4.
  • pypdb: Added support for several gimp:* layer effects for GIMP versions earlier than 3.1.4.
  • pypdb: Added must_be_merged property to indicate that a layer effect cannot be applied non-destructively.
  • pypdb: Several GEGL operations are no longer available as layer effects as they were also hidden in GIMP 3.2 (due to being redundant or not useful).
  • Fixed a critical bug preventing plug-in registration from working for GIMP 3.2 or later.
  • Fixed a bug in stub generator causing incompatibility with Python 3.11 and below.

5.5

15 Jun 10:06

Choose a tag to compare

5.5
  • pypdb: Fixed handling of enum values if a GIMP installation contains PyGObject version 3.50.0 or later.
  • pypdb: Fixed GEGL operations containing _ in their names not being accessible.
  • pypdb: Passing positional arguments to GIMP PDB procedures now yields a clearer error message.
  • procedure: Added init_gegl parameter that allows toggling automatic calling of Gegl.init() when a procedure starts.

5.4

25 Apr 20:14

Choose a tag to compare

5.4
  • Provided a workaround for registration of procedure arguments or return values whose type represents a GIMP-related object, e.g. Gegl.Color.

5.3

20 Apr 09:58

Choose a tag to compare

5.3
  • Allowed registration of procedures of type Gimp.ExportProcedure, Gimp.BatchProcedure and Gimp.VectorLoadProcedure.
  • Further clarified the Readme.
  • The generate-pdb-stubs.py file is now executable.

5.2

01 Apr 19:22

Choose a tag to compare

5.2
  • Clarified contents of Readme for improved readability.

5.1

15 Feb 09:52

Choose a tag to compare

5.1
  • The stub generator is now guaranteed to be accessible in GIMP even if no images are opened.

5.0

13 Feb 22:28

Choose a tag to compare

5.0
  • Updated the pdb object, script and the generated stubs according to changes in GIMP 3.0.0-RC3.
  • Added more information to several parameter types in the generated stub file. For example, the description for numeric parameters now contains minimum and maximum values (if different from the default minimum and maximum values), the description for Gio.File parameters indicates whether they are files or folders for opening/saving, etc.
  • Object array parameters (images, drawables, ...) are now annotated in the stub file as lists.
  • Updated type annotations for parameters that can be None (e.g. Gimp.Image or Gimp.Layer) in the stub file.
  • Slightly optimized access to PDB procedures and GEGL operations via the pdb object.
  • Improved GUI for the output directory for the stub generator.
  • Arguments whose names match a Python keyword can now be passed with a trailing _, e.g. lambda_ (passing lambda=<value> would result in a syntax error).

4.2

30 Dec 09:16

Choose a tag to compare

4.2
  • Fixed CRITICAL warnings issued by GIMP when applying layer effects.

4.1

29 Dec 10:16

Choose a tag to compare

4.1
  • Added allowed string values to the function documentation of the generated stub file for Gimp.Choice arguments or GEGL enums converted to Gimp.Choice arguments.
  • Default values for string arguments in the function documentation are now quoted for improved readability.
  • Fixed a potential bug where certain GEGL enums were unnecessarily converted to a string (since GIMP converts many of these enums to strings for readability).