Gimp/plug-ins/script-fu/scripts
Jehan e2d7cc163e app, pdb, plug-ins: replace (plug-in-displace).
For plug-in writers reference, these are equivalent:

- (plug-in-displace RUN-NONINTERACTIVE work-image frame-layer
-                   x-displacement y-displacement
-                   TRUE TRUE aux1 aux2 abyss))
+ (let* ((abyss "black")
+        (filter (car (gimp-drawable-filter-new frame-layer "gegl:displace" ""))))
+
+   (if (= edge-type 1) (set! abyss "loop"))
+   (if (= edge-type 2) (set! abyss "clamp"))
+
+   (gimp-drawable-filter-configure filter LAYER-MODE-REPLACE 1.0
+                                   "amount-x" x-displacement "amount-x" y-displacement "abyss-policy" abyss
+                                   "sampler-type" "cubic" "displace-mode" "cartesian")
+   (gimp-drawable-filter-set-aux-input filter "aux" aux1)
+   (gimp-drawable-filter-set-aux-input filter "aux2" aux2)
+   (gimp-drawable-merge-filter frame-layer filter)
+ )

I also changed a test which (I think) was just a no-op since do-x and
do-y were 0 0 (hence FALSE). Therefore the whole filter processing was
ignored. Note though that unlike the rippling animation filter, I
haven't tested the test script.
2024-12-17 16:24:54 +00:00
..
images Remove autotools 2023-05-27 00:03:52 +02:00
init ScriptFu: add compatibility scripts for third party scripts 2024-10-25 13:56:36 +00:00
test app, pdb, plug-ins: replace (plug-in-noisify). 2024-12-17 16:24:54 +00:00
add-bevel.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00
addborder.scm plug-ins: port script-fu scripts to the new array handling. 2024-10-25 23:31:42 +02:00
blend-anim.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00
burn-in-anim.scm plug-ins: port script-fu scripts to the new array handling. 2024-10-25 23:31:42 +02:00
carve-it.scm app, pdb, plug-ins: replace (plug-in-emboss). 2024-12-17 16:24:54 +00:00
chrome-it.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00
circuit.scm app, pdb, plug-ins: replace (plug-in-oilify). 2024-12-17 16:24:54 +00:00
clothify.scm app, pdb, plug-ins: replace (plug-in-noisify). 2024-12-17 16:24:54 +00:00
coffee.scm app, pdb, plug-ins: replace (plug-in-spread). 2024-12-17 16:24:54 +00:00
difference-clouds.scm app, pdb, plug-ins: replace (plug-in-solid-noise). 2024-12-17 16:24:54 +00:00
distress-selection.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00
drop-shadow.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00
font-map.scm plug-ins: port script-fu scripts to the new array handling. 2024-10-25 23:31:42 +02:00
fuzzyborder.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00
gimp-online.scm ScriptFu: rename script-fu-register-regular => -procedure 2024-09-27 14:35:50 +00:00
gradient-example.scm plug-ins: port script-fu scripts to the new array handling. 2024-10-25 23:31:42 +02:00
guides-from-selection.scm scripts: Update Guides from Selection API 2024-01-18 11:14:31 -05:00
guides-new-percent.scm Guides scripts enabled when multiple drawables selected (fixes issue #7535) Take 2 2024-02-04 18:26:45 +00:00
guides-new.scm scriptfu, tools: Allow off-canvas guides in more places 2024-05-31 12:03:44 +00:00
guides-remove-all.scm scripts: Fix "Remove all Guides" script bug 2024-01-19 11:17:36 +00:00
lava.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00
line-nova.scm plug-ins: port script-fu scripts to the new array handling. 2024-10-25 23:31:42 +02:00
meson.build ScriptFu: move init scripts to separate directory /scripts/scriptfu-init 2024-10-25 13:56:36 +00:00
mkbrush.scm ScriptFu: rename script-fu-register-regular => -procedure 2024-09-27 14:35:50 +00:00
old-photo.scm app, pdb, plug-ins: replace (plug-in-noisify). 2024-12-17 16:24:54 +00:00
palette-export.scm ScriptFu: scripts: fix scripts that used now obsolete functions from the SIOD dialect 2024-10-22 15:18:50 -04:00
paste-as-brush.scm plug-ins: port script-fu scripts to the new array handling. 2024-10-25 23:31:42 +02:00
paste-as-pattern.scm ScriptFu: rename script-fu-register-regular => -procedure 2024-09-27 14:35:50 +00:00
perspective-shadow.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00
README ScriptFu: build: "stable release" not install test framework or test plugins 2024-04-24 14:32:53 +00:00
reverse-layers.scm plug-ins: port script-fu scripts to the new array handling. 2024-10-25 23:31:42 +02:00
ripply-anim.scm app, pdb, plug-ins: replace (plug-in-displace). 2024-12-17 16:24:54 +00:00
round-corners.scm plug-ins: port script-fu scripts to the new array handling. 2024-10-25 23:31:42 +02:00
script-fu-set-cmap.scm ScriptFu: scripts: fix scripts that used now obsolete functions from the SIOD dialect 2024-10-22 15:18:50 -04:00
script-fu-util-setpt.scm ScriptFu: scripts: fix scripts that used now obsolete functions from the SIOD dialect 2024-10-22 15:18:50 -04:00
script-fu-util.scm plug-ins: port script-fu scripts to the new array handling. 2024-10-25 23:31:42 +02:00
script-fu.init ScriptFu: TinyScheme: add call-with-output-string etc to dialect 2024-04-06 13:43:33 +00:00
selection-round.scm ScriptFu: scripts: fix scripts that used now obsolete functions from the SIOD dialect 2024-10-22 15:18:50 -04:00
slide.scm app, pdb, plug-ins: get rid of (plug-in-rotate). 2024-12-17 16:24:54 +00:00
spinning-globe.scm plug-ins: port script-fu scripts to the new array handling. 2024-10-25 23:31:42 +02:00
test-sphere-v3.scm ScriptFu: scripts: revert changes to SF-TOGGLE args 2024-10-13 14:28:46 -04:00
tileblur.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00
unsharp-mask.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00
waves-anim.scm app, pdb, plug-ins: replace (plug-in-waves). 2024-12-17 16:24:54 +00:00
weave.scm app, pdb, plug-ins: replace (plug-in-noisify). 2024-12-17 16:24:54 +00:00
xach-effect.scm app, pdb, plug-ins: replace (plug-in-gauss). 2024-12-17 16:24:54 +00:00

The files in this directory are:
   - production plugins
   - demo plugins
   - initialization scripts for ScriptFu

Don't put test plugins in this directory, but in subdirectory test.

Production plugins:
  - installed in a release.
  - appear in diverse menus, not just Filters.
  - should be marked for translation, and not in potfiles.skip

Demo plugins:
  - installed in a release (with goat exercise plugins)
  - appear in Filters>Development>Demos
  - FUTURE: marked for translation, and not in potfiles.skip

Initialization scripts
  - loaded by the TinyScheme interpreter
  - have suffix .init or .scm
  - are not plugins
FUTURE:
The initialization scripts should all have suffix .scm
(like the rest of the Scheme world.)
They should be in a separate directory
so advanced users can load library scripts.

The files script-fu-util.scm and script-fu-util-setpt.scm
are also initialization scripts but loaded differently from .init files.
FUTURE: unify loading of initialization scripts.