Skip to content

script-fu, pdb: Consolidate gauss compat functions

Alx Sa requested to merge alxsa-gauss-minimize into master

This patch attempts to implement the request in Issue 11653.

Currently we have 5 compatibility PDB calls for gegl:gaussian-blur

  • plug-in-gauss
  • plug-in-gauss-iir
  • plug-in-gauss-iir2
  • plug-in-gauss-rle
  • plug-in-gauss-rle2

rle2 and iir2 are not used anywhere in GIMP. iir and rle are identical. Additionally, they're all just wrappers to a function call of gaussian_blur (), which multiplies the horizontal and vertical inputs by 0.32.

This patch removes all of them except for plug-in-gauss and converts scripts that use the other to it. It also pre-multiplies the inputs by 0.32 so that plug-in-gauss does not given unexpected results for third-party developers.

@Wormnest Hi! Is this what you wanted done? Let me know if other changes are needed.

Merge request reports

Loading