Skip to content

Releases: kamilburda/gimp-python-wrappers

5.4

25 Apr 20:14
Compare
Choose a tag to compare
  • 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
Compare
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
Compare
Choose a tag to compare
5.2
  • Clarified contents of Readme for improved readability.

5.1

15 Feb 09:52
Compare
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
Compare
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
Compare
Choose a tag to compare
4.2
  • Fixed CRITICAL warnings issued by GIMP when applying layer effects.

4.1

29 Dec 10:16
Compare
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).

4.0

28 Dec 21:14
Compare
Choose a tag to compare
4.0
  • Added support for layer effects (filters, GEGL operations). These can be called via the pdb object. For example, the gegl:gaussian-blur effect can be called as pdb.gegl__gaussian_blur(layer, std_dev_x=5.0, std_dev_y=5.0).
  • Procedures can now only be called with keyword arguments (i.e. it is no longer possible to call procedures with positional arguments). This change is meant to encourage plug-in developers to make the client code more readable. The only positional argument allowed is a Gimp.Layer instance for layer effects.
  • Updated the script and the generated stubs according to changes in GIMP 3.0.0-RC2.
  • The procedure module now automatically initializes the Gegl module by invoking Gegl.init() before the start of a procedure.
  • The generated stub file pypdb.pyi now also contains private attributes from the _PyPDB class, PDBProcedure class and all its subclasses. This avoids IDE warnings related to unrecognized attributes.

3.2

07 Dec 19:57
Compare
Choose a tag to compare
3.2
  • Fixed procedure registration if the same list of arguments was reused for multiple plug-in procedures.

3.1

05 Nov 22:09
Compare
Choose a tag to compare
3.1
  • Fixed calling PDB procedures with keyword arguments containing underscores.