Currently there are 5 separate plug-in-gauss functions. IIR2 and RLE2 are not used, and IIR and RLE are identical to each other. Additionally, they all call a separate gaussian_blur () function which multiples two parameters by 0.32 to convert to the actual GEGL operation. This patch removes all functions except for plug-in-gauss. It converts each existing script that used one of the other variants to use plug-in-gauss, and multiples the coefficients by 0.32 so that plug-in-gauss behaves the same as calling gegl:gaussian-blur with a C plug-in. There also exists a plug_in_pixelize2 () function in the PDB which allows the user to set both the pixel width and height. This patch converts this to become plug_in_pixelize (), and removes the older function which used a single width parameter for both values. |
||
|---|---|---|
| .. | ||
| always-fail | ||
| call-always-fail | ||
| register-fail | ||
| resource-class | ||
| test-install-fail | ||
| test-quit | ||
| test-run-error-PDB | ||
| test0 | ||
| test1 | ||
| test4 | ||
| test5 | ||
| test6 | ||
| test7 | ||
| test8 | ||
| clothify-v2.scm | ||
| clothify-v3.scm | ||
| contactsheet.scm | ||
| meson.build | ||
| README | ||
| test-bytes.scm | ||
| test-display.scm | ||
| test-sphere.scm | ||
| test-v3.scm | ||
| ts-helloworld.scm | ||
Scripts to test various cases for ScriptFu subsystem. Not usually installed. Should not be localized i18n : for developers only. ## Install To use, install them: 1. Old style scripts: copy to /scripts. 2. New style independently interpreted scripts: copy a dir containing the test script into /plugins and ensure the .scm files have execute permission. Old style scripts test and are interpreted by extension-script-fu. When a script crashes extension-script-fu, you must restart Gimp. New style scripts are interpreted in a separate process running binary script-fu-interpreter-3.0. ## Invoke Any installed script can be tested in the SF Console by just calling it from the PDB: "(script-fu-test-foo)" since they are PDB procedures. Scripts that have menu items can be tested from the Gimp GUI. Any test script can be called by another script. ## Testing framework test9.scm has a built-in testing framework. FUTURE: extract the framework to a Scheme extension that is in the Gimp repo, that other scripts can load and use.