All pastes #141769 Raw Edit

Untitled

public text v1 · immutable
#141769 ·published 2006-08-21 03:09 UTC
rendered paste body
;; drop shadow for image
;; offset (8,8) radius 15
(define (my-shadow input-file output-file)
  (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE input-file input-file)))
         (drawable (car (gimp-image-get-active-layer image))))
    (script-fu-drop-shadow image drawable 8 8 15 '(0 0 0) 80 TRUE)
    (gimp-image-merge-visible-layers image TRUE)
    (set! drawable (car (gimp-image-get-active-layer image)))
    (gimp-file-save RUN-NONINTERACTIVE image drawable output-file output-file)
    )
   (gimp-quit TRUE)
  )