![]() ![]() (script-fu-register "script-fu-shadowcorners" "" "" "" "" "" "RGB*" SF-FILENAME "Infile" "infile.png" SF-FILENAME "Outfile" "outfile.png")Īfterwards, I tried to call this script with the following batch file: for %%x in (*.png) do "C:\Program files\GIMP\bin\gimp-2.8" -i -b "(script-fu-shadowcorners \"%%x\" \"newfolder\\%%x\")" (gimp-file-save RUN-NONINTERACTIVE image drawable outfile outfile) (script-fu-drop-shadow image drawable 8 8 12 '(0 0 0) 45 TRUE) (script-fu-round-corners image drawable 10 FALSE 8 8 30 FALSE FALSE) (drawable (car (gimp-image-active-drawable image))) (let* ((image (car (file-png-load 1 infile infile))) The processing that is needed is:įor that, I tried to use the following script and placed it under C:\Program files\GIMP\share\gimp\2.0\scripts: (define (script-fu-shadowcorners infile outfile width height) On my windows machine, I want to use GIMP to modify all PNG files ( filename.png) in the current directory and to save the output file to the sub-directory out/filename.png. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |