You are here

Defective script

Hi community. How can I get the script shown below to work with Gimp 2.8.4 to work properly. The author wrote to me and explained that he wrote the script for Gimp 1.2 and did not make any further corrections. Appreciate your help. Thanks in advance. Frankie
---------------------------------------------------------------------------------------------------------------------------------------------

; The GIMP -- an image manipulation program
; Copyright (C) 1995 Spencer Kimball and Peter Mattis
;
; Water paint effect script for GIMP 1.2
; /Script-Fu/Alchemy/Water Paint Effect...
;
; --------------------------------------------------------------------
; - Changelog -
; version 0.1 2001/04/15 iccii
; - Initial relased
; version 0.1a 2001/07/20 iccii
; - more simple
;
; --------------------------------------------------------------------
;
; 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
; the Free Software Foundation; either version 2 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
;
;; Version de abcdugimp.free.fr

(define (script-fu-water-paint-effect
inImage
inDrawable
inEffect
)

(gimp-undo-push-group-start inImage)

(plug-in-gauss-iir2 1 inImage inDrawable inEffect inEffect)
(set! theNewlayer (car (gimp-layer-copy inDrawable 1)))
(gimp-image-add-layer inImage theNewlayer -1)
(plug-in-laplace 1 inImage theNewlayer)
(gimp-layer-set-mode theNewlayer SUBTRACT-MODE)
(gimp-image-merge-down inImage theNewlayer EXPAND-AS-NECESSARY)

(gimp-undo-push-group-end inImage)
(gimp-displays-flush)
)

(script-fu-register
"script-fu-water-paint-effect"
"/Script-Fu/Iccii's Effects/Water Paint Effect..."
"draw with water paint effect. Version de abcdugimp.free.fr"
"Iccii "
"Iccii"
"Jul, 2001"
"RGB*, GRAY*"
SF-IMAGE "Image" 0
SF-DRAWABLE "Drawable" 0
SF-ADJUSTMENT "Effect Size (pixels)" '(5 0 32 1 10 0 0)
)

Visit the gimp help http://www.gimphelp.org/script28.shtml
Paul Sherman refreshes the old scripts in his collection is this script

Subscribe to Comments for "Defective script"