diff --git a/plug-ins/script-fu/scripts/burn-in-anim.scm b/plug-ins/script-fu/scripts/burn-in-anim.scm index 45ee08095b..852ec947b8 100644 --- a/plug-ins/script-fu/scripts/burn-in-anim.scm +++ b/plug-ins/script-fu/scripts/burn-in-anim.scm @@ -137,7 +137,7 @@ (begin ;--- add some brightness to whole text (if (= fadeout TRUE) - (gimp-brightness-contrast bl-layer 100 0) + (gimp-drawable-brightness-contrast bl-layer 0.787 0) ) ;--- blend glow color inside the letters diff --git a/plug-ins/script-fu/scripts/circuit.scm b/plug-ins/script-fu/scripts/circuit.scm index b31bdc5cb7..c5272423db 100644 --- a/plug-ins/script-fu/scripts/circuit.scm +++ b/plug-ins/script-fu/scripts/circuit.scm @@ -3,16 +3,9 @@ ; ; Circuit board effect ; Copyright (c) 1997 Adrian Likins -; aklikins@eos.ncsu.ed -; -; Genrates what looks a little like the back of an old circuit board. -; Looks even better when gradmapped with a suitable gradient. -; -; This script doesn't handle or color combos well. ie, black/black -; doesn't work.. -; The effect seems to work best on odd shaped selections because of some -; limitations in the maze codes selection handling ablity ; +; Generates what looks a little like the back of an old circuit board. +; Looks even better when gradient-mapp'ed with a suitable gradient. ; ; This program is free software: you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by @@ -107,7 +100,7 @@ (plug-in-oilify RUN-NONINTERACTIVE image active-layer mask-size 0) (plug-in-edge RUN-NONINTERACTIVE image active-layer 2 1 0) (if (= type RGBA-IMAGE) - (gimp-desaturate active-layer)) + (gimp-desaturate-drawable active-layer DESATURATE-LIGHTNESS)) (if (and (= remove-bg TRUE) diff --git a/plug-ins/script-fu/scripts/fuzzyborder.scm b/plug-ins/script-fu/scripts/fuzzyborder.scm index e1b0d8be8f..d225c9b290 100644 --- a/plug-ins/script-fu/scripts/fuzzyborder.scm +++ b/plug-ins/script-fu/scripts/fuzzyborder.scm @@ -110,8 +110,8 @@ (car (gimp-layer-copy theLayer FALSE)) 0 -1) (gimp-layer-scale theLayer (- theWidth inSize) (- theHeight inSize) TRUE) - (gimp-desaturate theLayer) - (gimp-brightness-contrast theLayer 127 127) + (gimp-drawable-desaturate theLayer DESATURATE-LIGHTNESS) + (gimp-drawable-brightness-contrast theLayer 0.5 0.5) (gimp-invert theLayer) (gimp-layer-resize theLayer theWidth diff --git a/plug-ins/script-fu/scripts/old-photo.scm b/plug-ins/script-fu/scripts/old-photo.scm index ab51978d0d..5d0467ad09 100644 --- a/plug-ins/script-fu/scripts/old-photo.scm +++ b/plug-ins/script-fu/scripts/old-photo.scm @@ -48,9 +48,9 @@ (set! theLayer (car (gimp-image-flatten theImage))) (if (= inSepia TRUE) - (begin (gimp-desaturate theLayer) - (gimp-brightness-contrast theLayer -20 -40) - (gimp-color-balance theLayer 0 TRUE 30 0 -30) + (begin (gimp-drawable-desaturate theLayer DESATURATE-LIGHTNESS) + (gimp-drawable-brightness-contrast theLayer -0.078125 -0.15625) + (gimp-drawable-color-balance theLayer TRANSFER-SHADOWS TRUE 30 0 -30) ) ) (set! theWidth (car (gimp-image-width theImage)))