You are here

Drop-Shadow aborts with weird error

Hey,

i want to add a drop shadow to a layer. Unfortunately my script

(script-fu-drop-shadow 1 pic drawable 2 2 35 0 100 1)

just aborts with the error:

___________________________________

German:

"Fehler beim Ausführen von myScript:

Error: ( : 1) Procedure execution of gimp-image-width failed on invalid input arguments: Die Prozedur »gimp-image-width« wurden mit einer ungültigen ID für das Argument »image« aufgerufen. Wahrscheinlich versucht das Plugin mit einem Bild zu arbeiten, welches nicht länger existiert. "

___________________________________

English:

"Error on executing myScript:

Error: ( : 1) Procedure execution of gimp-image-width failed on invalid input arguments: The procedure »gimp-image-width« has been called with an invalid id for the argument »image« . Most propably the plugin is trying to work on a image that no longer exists."

___________________________________

If i change the last param (resizing), another procedure raises the error (one that is called with the drawable instead of the image). But drawable and the pic are definietly valid. They're used before and after this code in my script successfully. I even tried to move the shadow-code around in my script since it doesn't really matter when to use it, but that didn't change anything. Always the same weird bugs. Any ideas?

Thanks in advance

Subscribe to Comments for "Drop-Shadow aborts with weird error"