On 04/06/2011 06:00 PM, Patrick Horgan wrote:
On 04/06/2011 12:09 PM, houghi wrote:
...elision by patrick...
I am still looking for a solution. :-(
I looked at http://www.gimp.org/tutorials/Basic_Batch/ and that worked. So
it must be something to do with either the parameters or the way I place
them on the command line.

I looked at /usr/share/gimp/2.0/scripts/fuzzyborder.scm and there I saw:
(define (script-fu-fuzzy-border inImage
                                inLayer
                                inColor
                                inSize
                                inBlur
                                inGranu
                                inShadow
                                inShadWeight
                                inCopy
                                inFlatten
        )


The command and output is:
houghi@penne : gimp --verbose --batch-interpreter plug-in-script-fu-eval -i -b "(script-fu-fuzzy-border \"file.jpg\" '(0 0 0) 50 0 16 FALSE 1 FALSE)" -b '(gimp-quit 0)'
This command:

gimp -i -c -d -b '(batch_fuzzy_border "./alyssa01.jpg" "pink" 40 TRUE 10
TRUE 50) ' -b '(gimp-quit 0)'

just worked for me with the attached versions of batchfuzzy.scm and
fuzzyborder.scm using GNU Image Manipulation Program version 2.7.2.  I
made some changes here and there to fix errors in the scripts and to get
rid of calling deprecated methods.  This may make it not work on earlier
versions.  YMMV.  I'm sorry that no one bothered to look at the problem
and led you on wild goose chases.  This group is usually more helpful
than that.
I should add that if it doesn't work on your version, you can ask and I'll get it working on whatever version you have.  You might have fun browsing the procedures yourself in the script-fu console.  If you need help figuring that out, let me know.  Where I put ./alyssa01.jpg you could also put "./*.jpg" if you would rather batch process a lot of files at once with the same arguments.
Patrick

_______________________________________________ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to