Hi everybody,

I have a slew of jpg pictures that I would like to round corners and place a 
drop shadow on.  I google'ed and am at an impasse.  I need help.  I have 
provided some of the details below.  Thanks in advance for you assistance.


ro...@robo4:~/Desktop$ uname -a
Linux robo4 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:27 UTC 2010 
x86_64 GNU/Linux

ro...@robo4:~/Desktop$ gimp -v
GNU Image Manipulation Program version 2.6.7

using GEGL version 0.0.22 (compiled against version 0.0.22)
using GLib version 2.22.3 (compiled against version 2.22.2)
using GTK+ version 2.18.3 (compiled against version 2.18.3)
using Pango version 1.26.0 (compiled against version 1.26.0)
using Fontconfig version 2.6.0 (compiled against version 2.6.0)

ro...@robo4:~/Desktop$ gimp -i -b '(round-corners "test.JPG" "test2.JPG")' -b 
'(gimp-quit 0)'
batch command executed successfully


test2.JPG is created but the corners are not rounded and there is no drop 

(define (round-corners in-filename out-filename)
    (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE in-filename 
           (drawable (car (gimp-image-get-active-layer image))))
      (script-fu-round-corners image drawable 15 TRUE 8 8 15 TRUE FALSE)
      (gimp-file-save RUN-NONINTERACTIVE image drawable out-filename 
      (gimp-image-delete image)))

Gimp-user mailing list

Reply via email to