Hi,
On Sun, 2007-09-09 at 15:28 -0400,
[EMAIL PROTECTED] wrote:
The dialogs for Script-fus are generated and handled by the GIMP.
Unlike plug-ins and other scripting languages, there is nothing that a
Script-fu script has to do to interact with the user -- the parameters
are defined by
(set! drawable (car (gimp-image-get-active-layer image)))
Yes! And it works. Thank you very much. This will save many hours of manual
work.
Thank you for the debugging tip. It is quite discouraging when the computer
tells you your program is wrong, and I am not going to tell you what is
--- Milos Prudek [EMAIL PROTECTED] wrote:
Thank you for the debugging tip. It is quite discouraging when the
computer tells you your program is wrong, and I am not going to tell
you what is wrong with it, not even a small hint.
As a Winblows user, you get used to it. :)
Sven Neumann ([EMAIL PROTECTED]) wrote:
The problem here is that if you call a Script-Fu script from another
Script-Fu script, then you are not doing a PDB procedure call. The
called script is evaluated directly by the Scheme interpreter. This may
lead to a somewhat different calling
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
13 matches
Mail list logo