On 04/06/2011 10:51 PM, houghi wrote:
On Wed, Apr 06, 2011 at
06:15:52PM -0700, Patrick Horgan wrote:
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.
Just tried it and it works in 2.6.11 as well.
I
made some changes here and there to fix errors in the
scripts and to get
rid of calling deprecated methods.
As these were scripts that were provided by my distro, I
assume they are
somewhat 'standard' for GIMP. To know there are errors in it,
is perhaps
more importand to solve then me getting errors.
Perhaps a good time to overhaul all the ones that come
standard with GIMP.
As it was coming with GIMP the last thing I was thinking
about was
problems with the script.
Yeah, batchfuzzy.scm does NOT come with gimp but fuzzyborder.scm
does, and it has two places where inImage should be theImage (lines
90 and 99), and the line:
(gimp-selection-layer-alpha theLayer)
should be:
(gimp-image-select-item theImage CHANNEL-OP-REPLACE theLayer)
to get rid of a deprecated function warning. Other than that it's
fine.
Patrick
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user