Re: Script-fu tutorial
Hi! > Is there a tutorial/documentation for script fu programming available? A Google search offers some good links to Script-fu tutorials. Just try: http://www.google.com/search?q=gimp+script-fu+tutorial There's also a tiny introduction in Scheme (the Script-fu language) at the Gimp User Group: http://gug.sunsite.dk/?page=tutorials Hope it helps. CU, Michael ---=[[EMAIL PROTECTED]]=--- ---=[ http://www.technoid.f2s.com ]=---
Script-fu tutorial
Is there a tutorial/documentation for script fu programming available? Hans (GIMP newbie) -- Welcome in a M$ free zone! Sent through GMX FreeMail - http://www.gmx.net
Re: [ANNOUNCE] Script-Fu Tutorial
On Fri, Aug 18, 2000 at 01:12:57AM +0200, Ingo Ruhnke <[EMAIL PROTECTED]> wrote: > Well, I don't know how small or large a guile interface would be, but > it would have the advantage that it would be a full featured > programming language and it would probably offer accessing guile-gtk, > to create customized user-interfaces. Yes, bnut there is no difference to python or perl in that respect. And there are a *lot* more perl installations then python (or guile). No, the only (but for me important) advantage of script-fu (siod) over ANY other interface (except C) is that it needs no external dependencies and (in the case of guile) unusual dependencies. > The current SIOD implementation which is used for Script-Fu is missing > a lot of features and differs heavily from R5RS, so the user has to > learn not only how to programm gimp, but also how to use SIOD, even if > he is already familar with Scheme. That's true. Consider it Script-Fu, instead of Scheme-Fu ;-) My only point is that script-fu, as it is, is valuable since you can depend on it to be there. It would, however, be a lot more useful if the obvious problems with its implementation were solved, after which it became truly useful. -- -==- | ==-- _ | ---==---(_)__ __ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| -=/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
Re: [ANNOUNCE] Script-Fu Tutorial
Marc Lehmann <[EMAIL PROTECTED]> writes: > Using a guile interface has IMHO the same problems as python, perl > etc.. namely that it isn't small and self-contained (everything > needed c omes with the gimp!). Well, I don't know how small or large a guile interface would be, but it would have the advantage that it would be a full featured programming language and it would probably offer accessing guile-gtk, to create customized user-interfaces. The current SIOD implementation which is used for Script-Fu is missing a lot of features and differs heavily from R5RS, so the user has to learn not only how to programm gimp, but also how to use SIOD, even if he is already familar with Scheme. -- ICQ: 59461927 http://www.pingus.cx | Ingo Ruhnke <[EMAIL PROTECTED]> http://home.pages.de/~grumbel/ | '
Re: [ANNOUNCE] Script-Fu Tutorial
Carl-Johan Sveningsson <[EMAIL PROTECTED]> writes: > 1. Would it be ok if this was maybe translated into Swedish some day and > mirrored at a gimp-page? Maybe GUG will want it too. Sure, take it, hack it, translate it, whatever you want. > 2. How widely-used should script-fu still be? I recall hearing a > discussion that SF would (should?) die in favour of perl-fu and > c-plugins? It'd be great fun to know how to code my own plugin in > C...but already knowing some SF, should this knowledge be considered > old and obsolete? For example Script-Fu and Python-Fu are very similar. Learning script programming with Gimp is IMHO more an issue of learing how Gimp and the PDB works. One's you are handy with that, it shouldn't be a great problem to translate to Python-Fu or Perl-Fu. Even C-Plugin's are very similar, only a bit more complicated. -- ICQ: 59461927 http://www.pingus.cx | Ingo Ruhnke <[EMAIL PROTECTED]> http://home.pages.de/~grumbel/ | '
Re: [ANNOUNCE] Script-Fu Tutorial
On Thu, Aug 17, 2000 at 12:45:13AM +0200, Carl-Johan Sveningsson <[EMAIL PROTECTED]> wrote: > 2. How widely-used should script-fu still be? I recall hearing a > discussion that SF would (should?) die in favour of perl-fu and c-plugins? I don't. However, I would rather see a maintainer that tries to improve script-fu. There are two major problems with script-fu: - it's scheme. this is obviously a non-issue for many people and that should stay so. the script-fu-interpreter is self-contained - the implementation totally sucks: * on my system, script-fu takes 8 MB of RAM even when never used. * it slows down startup of gimp consderably each time * it is very user-UNfriendly, no debugging hints, no usable error messages etc... Everything of this could be solved, givne a maintainer with enough energy. Using a guile interface has IMHO the same problems as python, perl etc.. namely that it isn't small and self-contained (everything needed c omes with the gimp!). > knowing some SF, should this knowledge be considered old and obsolete? I hope not! > AFAIK, a lot of SF-plugins stopped working in some development version of > gimp? The gimp API has eveolved. Many functions changed (more arguments, different arguments, less arguments). There is a small perl-script that tries to update from script-fu-scripts from 1.0 to 1.2, but I stopped maintaining it half a year ago because I didn't get any feedback ;) -- -==- | ==-- _ | ---==---(_)__ __ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| -=/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
Re: [ANNOUNCE] Script-Fu Tutorial
> Hi, > > I have written just another Script-Fu tutorial, its a short tutorial > for the people, which are already familar with the Scheme language. It > gives step by step instructions on how to write an example Script-Fu, > avoid pitfalls and debug Script-Fu. The tutorial isn't completly > finished yet, but it should provide enough info's for a start. > The tutorial is available at: > > * http://pingus.seul.org/~grumbel/gimp/script-fu/script-fu-tut.html > > Comments are welcome. Hi. Nice and interesting tutorial...but I have some questions... 1. Would it be ok if this was maybe translated into Swedish some day and mirrored at a gimp-page? Maybe GUG will want it too. 2. How widely-used should script-fu still be? I recall hearing a discussion that SF would (should?) die in favour of perl-fu and c-plugins? It'd be great fun to know how to code my own plugin in C...but already knowing some SF, should this knowledge be considered old and obsolete? Also, could someone please sum up to me what the problems where when AFAIK, a lot of SF-plugins stopped working in some development version of gimp? Thanks. Carl-Johan Sveningsson "Succumb to natural tendencies. Be hateful and boring." ICQ# 2357535 http://come.to/woc/ http://wlug.westbo.se/ -BEGIN GEEK CODE BLOCK- Version: 3.12 GSS/CS/P d(++,--)>--- s-: a--- C(,!) UL+++ P+++>$ L++ E-$ W++(@) N? o?> K? w-- !O M- V? PS++(@) PE- Y? PGP?>++ t->++ 5?>+++ X+ R- tv->! b+>+++ DI++ D+ G e+>+++$ h-->(+,) r>(+++,---) y+>** --END GEEK CODE BLOCK--
[ANNOUNCE] Script-Fu Tutorial
Hi, I have written just another Script-Fu tutorial, its a short tutorial for the people, which are already familar with the Scheme language. It gives step by step instructions on how to write an example Script-Fu, avoid pitfalls and debug Script-Fu. The tutorial isn't completly finished yet, but it should provide enough info's for a start. The tutorial is available at: * http://pingus.seul.org/~grumbel/gimp/script-fu/script-fu-tut.html Comments are welcome. Cu Ingo -- ICQ: 59461927 http://www.pingus.cx | Ingo Ruhnke <[EMAIL PROTECTED]> http://home.pages.de/~grumbel/ | '