Script-Fu: ERROR: unbound variable

  • Follow


I have just installed GIMP 2.2.10 for Windows.

Mostly because of batch mode possibillity. But I have a problem because
some internal GIMP procedures look just absent.

For example:
   gimp_floating_sel_relax
   gimp_floating_sel_to_layer
   gimp_image_flatten

When I use them in the script I am getting error ERROR: unbound
variable.

I am embarrassed. I am able to do everything in Mike Terry tutorial on
Script-Fu. But then instead of opening the image I would like to
save it to the file. Before this I need to flatten the image or at
least
make the text being present in the main layer.

And I am getting this error. Can anyone to advice?

Regards
Vadim

0
Reply vfilatov (1) 1/17/2006 5:49:14 AM

I found the reason. While function name are listed in Procedure Browser
with underscores '_', dashes in reality should be used '-'.  So it
should be
gimp-image-flatten etc. 

Very funny and difficult to notice.

VAdim

0
Reply vadim 1/17/2006 6:41:46 AM


vadim schrieb:

> Very funny and difficult to notice.

The display in the PDB browser has been changed in the current
developer release, btw.


HTH,
Michael

0
Reply Michael 1/17/2006 10:36:18 AM

2 Replies
408 Views

(page loaded in 0.068 seconds)

Similiar Articles:










7/22/2012 12:56:19 AM


Reply: