Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > GIMP (GNU Image Manipulation Program) > calling a scrip...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3077 of 3157
Post > Topic >>

calling a script-fu script in batch mode

by Edward Redman <redman@[EMAIL PROTECTED] > Sep 16, 2008 at 04:55 PM

Hi
I am trying to call the EZImprover FX-foundry script in
a batch mode.
I was trying to model it after the simple example 

Simple-Unsharp-Mask at gimp.org

Here is what I have

(define (simple-ezimprover filename)
   (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename 
filename)))
          (drawable (car (gimp-image-get-active-layer image))))
     (script-fu-EZImprover RUN-NONINTERACTIVE image drawable 0)
     (set! drawable (car (gimp-image-get-active-layer image)))
     (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename)
     (gimp-image-delete image)))

I saved this as simple-ezimprover.scm in my gimp-2.4/scripts folder.

This is the error I get

GIMP-Error: Plug-in "script-fu"
(/usr/lib/gimp/2.0/plug-ins/script-fu)
attempted to register the menu item "<Image>/Filters/Combine" for 
procedure "script-fu-pandora-combine".
The menu label given in gimp_install_procedure() already contained a 
path.  To make this work, pass just the menu's label to 
gimp_install_procedure().

GIMP-Error: Procedure 'gimp-layer-copy' has been called with an invalid 
ID for argument 'layer'. Most likely a plug-in is trying to work on a 
layer that no longer exists.

a calling error occurred while trying to run: "gimp-layer-copy"
GIMP-Warning: Plug-In '(null)' left image undo in inconsistent state, 
closing open undo groups.

batch command: experienced an execution error.


I am not sure what it gimp is telling me. Any assistance would be 
appreciated.
 




 3 Posts in Topic:
calling a script-fu script in batch mode
Edward Redman <redman@  2008-09-16 16:55:26 
Re: calling a script-fu script in batch mode
Niels Giesen <niels.gi  2008-09-24 20:03:44 
Re: calling a script-fu script in batch mode
houghi <houghi@[EMAIL   2008-09-24 22:01:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 17:17:37 CST 2008.