Hi,
I need to use GIMP batch mode. I managet to reproduce the tutorial at
http://www.gimp.org/tutorials/Basic_Batch/ but my own attempts fail with a
very unhelpful error message batch command: experienced an execution error.
I tried to intentionally damage the tutorial itself and I discovered
This is pure madness. The following line works perfectly in GIMP if used in a
simple script-fu for currently loaded image.
(script-fu-fuzzy-border image drawable '(255 255 255) 120 TRUE 9 FALSE 0 FALSE
TRUE)
The very same line with an added RUN-NONINTERACTIVE parameter fails if used in
a
I simplified the above problem into the following script:
(define (fuzzy-border-single filename)
(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))
(drawable (car (gimp-image-get-active-layer image
(script-fu-fuzzy-border RUN-NONINTERACTIVE
RUN-NONINTERACTIVE is not a valid parameter for 'script-fu-fuzzy-border'.
Quoting Milos Prudek [EMAIL PROTECTED]:
I simplified the above problem into the following script:
(define (fuzzy-border-single filename)
(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))
RUN-NONINTERACTIVE is not a valid parameter for 'script-fu-fuzzy-border'.
Your answer is perplexing.
A) Neither unsharp-mask.scm nor fuzzyborder.scm have run_mode in their
parameter list.
B) script_fu_unsharp_mask AND plug_in_unsharp_mask AND script_fu_fuzzy_border
do have run_mode in
On Sunday 09 of September 2007 14:53:52
[EMAIL PROTECTED] wrote:
RUN-NONINTERACTIVE is not a valid parameter for 'script-fu-fuzzy-border'.
You are right. Unfortunately when I remove RUN-NONINTERACTIVE, the script
fails anyway, this time with this error message:
(jpeg:14957): LibGimp-CRITICAL
Quoting Milos Prudek [EMAIL PROTECTED]:
How am I supposed to discover that RUN-NONINTERACTIVE is not a valid
parameter
for 'script-fu-fuzzy-border' if run_mode is in the parameter list in the
Procedure Browser, and furthermore plug_in_unsharp_mask does indeed work with
RUN-NONINTERACTIVE
It is my understanding that ALL Script-fus are run non-interactively.
script-fu-fuzzy-border can run interactively. It is available in
Right-click/Script-Fu/Decor/ menu in GIMP. It asks interactively for its
parameters. Is it an interactive run?
not have the same 'drawable' ID as before the
Quoting Milos Prudek [EMAIL PROTECTED]:
It is my understanding that ALL Script-fus are run non-interactively.
script-fu-fuzzy-border can run interactively. It is available in
Right-click/Script-Fu/Decor/ menu in GIMP. It asks interactively for its
parameters. Is it an interactive run?
The