Script-Fu crashes others?

2001-02-13 Thread Jonathan Gift

Hi,

I upgraded to the new Gimp 1.2.1 but I still get Script-Fu crashes,
especially on the Puzzle plugin. Gimp itself is fine. Anyone else has
this?

-- 

Jonathan Gift



Segfault on Gimp1.2 Script-Fu?

2001-02-11 Thread Jonathan Gift

Hi, 

I have the Ximian debian potato compiled gimp installed and every so
often I get a segmentation fault using various filters. The Puzzle one
did it to me several times when rapidly scrolling through a number
setting. Is this me or do others get this? Is it Gimp, Script-Fu, a
badly written script, or my install is missing something?

Thanks for any pointers.

-- 

Jonathan Gift



Re: Script-fu tutorial

2001-01-14 Thread Michael

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 proplem: how to combine two functions

2000-12-30 Thread Dan Carrigan

Hello

I am trying to combine two functions, gimp-image-resize
and gimp-image-set-resolution into a script-fu, webify-pix
http://antioch-college.edu/~dcarrigan/webify-pix.scm

I am not having and any luck and can not figure out
what is wrong from the tutorials or the scheme debugger.

Any help would be appreciated.

Regards,

  Dan

Dan Carrigan  Reference Librarian  |  [EMAIL PROTECTED]
Antioch College   Olive Kettering Library  |  937 767-6388
795 Livermore Street   |  "Civility costs nothing and 
Yellow Springs, OH  45387-1695 |   buys everything" L. Montagu




script-fu errors

2000-11-01 Thread VosSedai

I know I'm probably missing something idiotically simple here but here goes
anyway :). Running GIMP 1.1.17  Downloaded some script-fus ...
specifically
the Neon script-fu, the 3d outline, and granite slab. Regarding the neon,
doing 
script-fu-Alchemy-neon sign on simple text plain bg gives me ERROR:
unbound variable(errorbj gimpimagedisableundo) if blah blah font may not be
installed..
they are :) also get same error on filters-script-fu-decor-glow. On the
graniteslab  3d outline the error is ERROR: too few arguments(see errorbj)
if blah blah font may not be installed :/ *sigh* what have I done? lol
thanks in advance. VosSedai


"Cynics are made, not born."
K.Marx





___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html




Client for script-fu-server?

2000-09-12 Thread dale.mellor

It's a simple question but I can't find any doc on it anywhere - how
do I interact with a script-fu-server?

Dale

-
Despite the brusque/curmudgeonly/terse nature of my e-mails I am
really a nice guy and wish you well.



Script-Fu

2000-09-07 Thread Renzo Lauper

Hi

Anybody with Script-Fu experiences?

I would like to write a very small script (actually my first...), which would be able 
to do the following for me:
- Add a drop-shadow (script-fu-drop-shadow)
- Flatten the image (gimp-image-flatten)
- Save this "new" picture under the old name (gimp-file-save)

Here is my try:

 cut here -
(define (script-fu-wof-shadow image drawable)

(script-fu-drop-shadow image drawable "8" "8" "15" '(0 0 0) "80" TRUE)

(gimp-image-flatten image)

)

(script-fu-register
"script-fu-wof-shadow"
"Image/Script-Fu/WoF/Shadow"
"Fuegt einem Bild einen Drop-Shadow hinzu, fuehrt Flatten Image aus und speichert das 
neue Bild."
"Renzo Lauper ([EMAIL PROTECTED])"
"Renzo Lauper"
"07.09.2000"
"RGB RGBA GRAY GRAYA"
SF-IMAGE "Image" 0
SF-DRAWABLE "Drawable" 0)
 cut here -

Thanks in advance
Renzo Lauper

--
-- LINUX: Reboot once a year...just for fun.
-- Take a look at www.gameoefter.org



Re: Script-fu: Burn-In V1.9 is out

2000-08-28 Thread Roland Berger (EED)

Carl-Johan Sveningsson wrote:
 
 Hi.
 
 It's a great nice plugin,

Thanks!

 but 1.9 won't work at all for me.
 I don't know, is my gimp (1.1.25) weird or what's wrong?

No, but as I have stated, V1.9 is (only) for Gimp 1.0.
The error is typical for Gimp 1.1 (and there are a lot
more "errors" if you correct this one).

I'm working on porting the script to G1.1, so please
stand by. (Will take some days, though...)

Anyway - thanks for your feedback!

Roland



Re: Script-fu: Burn-In V1.9 is out

2000-08-27 Thread Carl-Johan Sveningsson

Hi.

It's a great nice plugin, but 1.9 won't work at all for me.

When I tried to shut off fadeout in the old version, this happened too,
but now it won't work at all.

I don't know, is my gimp (1.1.25) weird or what's wrong?

Anyway, the error I get is:

Script-Fu Error
ERROR: unbound variable (errobj gimp-image-disable-undo)

Could you fix it?

/WoC

On Fri, 25 Aug 2000, Roland Berger (EED) wrote:

 
 First, let me say thanks to all people who gave me feedback
 and sent me bug reports the last days. This helps alot (and
 keeps me on working ;-)
 
 Now for the news:
 I've just released Script-Fu "Burn-In" V1.9 for Gimp 1.0.X.
 You can now use your own background-layer and create
 fascinating text animations for the web.
 Please note that this version is considered as pre2.0 and
 therefore still "beta". It works, but I didn't have the time
 to do extensive testing. :-/
 (Burn-In V1.0 was already announced by Xach some days
  ago (thanks!)
 
 For download  demos please see
 http://fuchur.leute.server.de/burn_in/
 
 Roland
 


"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--




Script-fu: Burn-In V1.9 is out

2000-08-25 Thread Roland Berger (EED)


First, let me say thanks to all people who gave me feedback
and sent me bug reports the last days. This helps alot (and
keeps me on working ;-)

Now for the news:
I've just released Script-Fu "Burn-In" V1.9 for Gimp 1.0.X.
You can now use your own background-layer and create
fascinating text animations for the web.
Please note that this version is considered as pre2.0 and
therefore still "beta". It works, but I didn't have the time
to do extensive testing. :-/
(Burn-In V1.0 was already announced by Xach some days
 ago (thanks!)

For download  demos please see
http://fuchur.leute.server.de/burn_in/

Roland



Re: [ANNOUNCE] Script-Fu Tutorial

2000-08-18 Thread Marc Lehmann

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

2000-08-17 Thread Ingo Ruhnke

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

2000-08-17 Thread Ingo Ruhnke

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

2000-08-16 Thread Carl-Johan Sveningsson

 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

2000-08-14 Thread Ingo Ruhnke

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/ |
'



Re: Script-fu crashes - with ICQ

2000-07-20 Thread Rebecca Jean Pedersen

what icq are you using?  i have icqjava and have never had a problem.



Re: Script-fu crashes - with ICQ

2000-07-20 Thread Hago Ziegler

Hi,

 what icq are you using?

I don't know, it's on Win98.

Hago




Re: Script-fu crashes - with ICQ

2000-07-20 Thread Hago Ziegler

Hi, once more,

 what icq are you using?  i have icqjava and have never had a problem.

Do you run it on a Linux machine? I didn't know, that this is possible.

Hago




Re: Script-fu crashes

2000-07-20 Thread Guillermo S. Romero / Familia Romero

 Did you tried the SUBmarine tactic? Alt+SysReq+S (sync disks), wait until
windows?  linux?  frebsd?

Sorry, Linux (option in 2.2 and up, can be disabled, even if you compiled,
it via /proc, so check you have compiled and enabled). FreeBSD, if not does
something like that, should too (in the same way that Linux and FreeBSD
share the idea of virtual consoles, which is great).

With MS Windows... well, no comments, each day I wonder where is the
console, or the virtual desktop, or why I can not have two GUI at the same
time. The best you can do with MS Windows is Ctrl+Alt+Del and pray so it
allows you to close the app or something. ;]

GSR
 




Re: Script-fu crashes - with ICQ

2000-07-20 Thread Guillermo S. Romero / Familia Romero

Does somebody know about a possibility to separate these two things,
without uninstalling ICQ?

Change the extension association, whatever the way that is done now (my last
Windows is NT with plain Explorer). I suppose (but I dunno) that Gimp will
be able to live with that. I would ask the Win32 developers for help, so
maybe they can do something (like using another extension via mv in the
makefile... well, MS C project config files and ren).

GSR
 




Re: Script-fu crashes

2000-07-20 Thread Alan Buxey

hi,

On Thu, 20 Jul 2000, clemensF wrote:

  Guillermo S. Romero / Familia Romero:
 
  Did you tried the SUBmarine tactic? Alt+SysReq+S (sync disks), wait until
 
 windows?  linux?  frebsd?

this is Linux - but only if the SysReq function has been compiled into the
kernel options (when building the kernel, its practically the last option
to choose)

alan




Re: Script-fu crashes

2000-07-20 Thread Marc Lehmann

On Thu, Jul 20, 2000 at 04:24:26PM +0200, "Guillermo S. Romero / Familia Romero" 
[EMAIL PROTECTED] wrote:
 it via /proc, so check you have compiled and enabled). FreeBSD, if not does
 something like that, should too (in the same way that Linux and FreeBSD
 share the idea of virtual consoles, which is great).

FreeBSD doesn't need that, as it doesn't crash nearly as often as linux
;-

running away...

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-fu crashes

2000-07-20 Thread Guillermo S. Romero / Familia Romero

 it via /proc, so check you have compiled and enabled). FreeBSD, if not does
 something like that, should too (in the same way that Linux and FreeBSD
 share the idea of virtual consoles, which is great).
FreeBSD doesn't need that, as it doesn't crash nearly as often as linux
;-

I never have used it for for freezes (yet). Always as fast reboot or
experiment (like today playing with RAID... hot reconstruction, cool).

running away...

Why?

GSR
 




Re: Script-fu crashes

2000-07-19 Thread clemensF

 Guillermo S. Romero / Familia Romero:

 Did you tried the SUBmarine tactic? Alt+SysReq+S (sync disks), wait until

windows?  linux?  frebsd?

clemens



Re: Script-fu crashes - with ICQ

2000-07-19 Thread Hago Ziegler

Hi all,

I read several times about script-fu to crash because of "nobody knows".

4 days ago I installed ICQ and since then my script-fus are crashing
too. Not all the time, but sometimes.

The reason:

ICQ uses *.SCM as a fileending. Any music files, but without them, ICQ
doesn't work. I  just shutdown ICQ when I work with gimp, but I'm not
really sure if it doesn't affect script-fu anyway.

Does somebody know about a possibility to separate these two things,
without uninstalling ICQ?

Hago




Re: Script-fu crashes

2000-07-17 Thread Guillermo S. Romero / Familia Romero

Some details to add to what Marc said:
I've had 3 random freezes of the keyboard upon startx, with the monitor
going black and the only way out a hard reboot. I've fiddled about with
fsck (and been yelled at by German geeks for doing that) but something
seems to always work to get it back. Not the same thing every time, tho.

Did you tried the SUBmarine tactic? Alt+SysReq+S (sync disks), wait until
LED and sound stop, Alt+SysReq+U (umount disks, remount read only), wait
until LED and sound stop, Alt+SysReq+B (reboot). The machine goes down quite
fast, and a lot safer than drilling holes in the ships hull (aka hit the
reset button), cos it can come up perfectly. Of course, all this works only
if the kernel is still alive.

GSR
 




Script-fu crashes

2000-07-16 Thread Kate


I recently began using the gimp - version 1.1.7, as it came with the SuSE
6.2 distribution (a stripped down, 1 cd version of 6.2, it appears)

So, far I'm just experimenting, but I've had a lot of crashes with
script-fu. When you click 'ok' the program freezes, and while it will
iconize, it cannot be closed. I have to exit out of kde and begin again. 
Don't seem to have any problems with the rest of the gimp, but as I've
said - I've jsut been doing basic stuff so far.

Is this version of gimp known for this problem, or could it be the linux
distro? KDE 1.1.1 is the GUI - and it seems pretty friggin buggy as well.
I've had 3 random freezes of the keyboard upon startx, with the monitor
going black and the only way out a hard reboot. I've fiddled about with
fsck (and been yelled at by German geeks for doing that) but something
seems to always work to get it back. Not the same thing every time, tho.

Yes, I am a luser. 

--
Kate  http://www.katewerk.com




Re: Script-fu crashes

2000-07-16 Thread Marc Lehmann

On Sun, Jul 16, 2000 at 09:19:09PM -0600, Kate [EMAIL PROTECTED] wrote:
 I recently began using the gimp - version 1.1.7, as it came with the SuSE
 6.2 distribution (a stripped down, 1 cd version of 6.2, it appears)

Try upgrading to a recent development version of gimp, 1.1.7 is YEARS old.

 Is this version of gimp known for this problem, or could it be the linux
 distro?

Both - the latest stable version of gimp is 1.0.4, but suse put an
unstable development versiob on their distribution - doubtlessly with
large warnings that his is just an unstable development release ;)

 going black and the only way out a hard reboot. I've fiddled about with
 fsck (and been yelled at by German geeks for doing that)

fsck is usually save to use in single-user-mode, so just ignore them ;)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Script-fu...

2000-07-14 Thread Debian Linux User

Hi,

First, sorry about my poor english, I am brazilian. 

I am trying to develop a game, called Evolution
(http://evolution.sourceforge.net). I need much sprites to do this game,
and the images need to be in a specific format. Each sprite is a file
that store the image of a unit (a man, a car, a construction) in several
positions (e.g.: the several frames of a movie of a man walking).
I am (trying ;-) making the imagens using blender
(http://www.blender.nl), witch saves each frame in a diferent file. All
frames have the same size. I need to load all N images and (where N is a
number I don't know) and make, with them, a single one. Each frame needs
to be at the side of the other, in horizontal.
I want to use gimp to do this task. I want to make a plug-in or a
script-fu (in C, scheme or python) that receive all images as input and
and generate the final image for me. So, if I change one of the frames
of my sprite (my movie), I can only execute the script and have the
final image, without repetitive work.
I would like to know if gimp alredy has a plugin like this and, if not,
how may I receive the N images on input, while scripts usually receive a
determined number of parameters. May you help me? Any hint or tip?

Thank you for your attemption,

Marcelo.


-- 
Marcelo Elias Del ValleUIN: 30595143
[EMAIL PROTECTED] http://tilt.8m.com MLinuxer
http://Evolution.sourceforge.net



Re: Script-fu...

2000-07-14 Thread Marc Lehmann

On Fri, Jul 14, 2000 at 06:10:16PM -0300, Debian Linux User [EMAIL PROTECTED] 
wrote:
 Hi,
 
 (http://www.blender.nl), witch saves each frame in a diferent file. All
 frames have the same size. I need to load all N images and (where N is a
 number I don't know) and make, with them, a single one. Each frame needs

Instead of using Gimp, use ImageMagick and a command like this:

convert +append img1.ppm img2.ppm img3.ppm result.ppm

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-fu...

2000-07-14 Thread Debian Linux User

Oh my!
So simple? Linux is the paradise!
Thank you very much

Marc Lehmann wrote:
 Instead of using Gimp, use ImageMagick and a command like this:
 
 convert +append img1.ppm img2.ppm img3.ppm result.ppm
 
 --
   -==- |
   ==-- _   |
   ---==---(_)__  __   __   Marc Lehmann  +--
   --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
   -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
 The choice of a GNU generation   |
  |

-- 
Marcelo Elias Del ValleUIN: 30595143
[EMAIL PROTECTED] http://tilt.8m.com MLinuxer
http://Evolution.sourceforge.net



RE: Fonts in Script-FU Dialogs

2000-07-10 Thread Stephan Henningsen

On Sun, 9 Jul 2000, Andrew J Fortune wrote:

 Hi Guillermo,
 
 Thanks for your lead. I have located a Helix RPM of Gimp-1-1-24 and

Excuse me, but what is all this Helix talk about?  Is it a
nickname for some new RedHat dist. or what?


-- 

-Stephan  /
 /  http://linux.e.iha.dk/~stephan





RE: Fonts in Script-FU Dialogs

2000-07-10 Thread Andrew J Fortune


Hi Stephan,

Check it out at http://www.helixcode.com.

regards,
Andrew

-Original Message-
From: Stephan Henningsen [mailto:[EMAIL PROTECTED]]
Sent: Monday, 10 July 2000 9:24 PM
To: Andrew J Fortune
Cc: Guillermo S. Romero / Familia Romero; [EMAIL PROTECTED]
Subject: RE: Fonts in Script-FU Dialogs


On Sun, 9 Jul 2000, Andrew J Fortune wrote:

 Hi Guillermo,
 
 Thanks for your lead. I have located a Helix RPM of Gimp-1-1-24 and

Excuse me, but what is all this Helix talk about?  Is it a
nickname for some new RedHat dist. or what?


-- 

-Stephan  /
 /  http://linux.e.iha.dk/~stephan





RE: Fonts in Script-FU Dialogs

2000-07-09 Thread Guillermo S. Romero / Familia Romero

Thanks for your lead. I have located a Helix RPM of Gimp-1-1-24 and
successfully installed it. Do you happen to know if I also need to install
(whether by RPM or make) the associated gimp-data file, or is it already a
part of Gimp-1-1-24 ?

I have been a bit offline latelly (exams and work), so me last Helix has
1.1.22, and I used it too few. IIRC they do not provide too many things, so
you could give a try to that file. Install under /usr/local/ so you do not
kill anyhting based in RPM, and use the Preferences dialog to point Gimp to
the correct data dirs.

GSR
 




RE: Fonts in Script-FU Dialogs

2000-07-08 Thread Andrew J Fortune


Hi Guillermo,

I have gone to the FTP site at ftp://ftp.gimp.org/pub/gimp/v1.1/v1.1.24/,
and the following files are listed :

gimp-1.1.24.tar.bz2
gimp-1.1.24.tar.gz
gimp-data-extras-1.1.20.tar.bz2
gimp-data-extras-1.1.20.tar.gz
patch-1.1.23-1.1.24.bz2
patch-1.1.23-1.1.24.gz
README

Firstly, am I going down the right track by looking here ?

Secondly, what do I do with these files once I download them -- some of
these files are large, so I am not going to download them yet until I know
for sure these are what I want.

Thirdly, as I am a newbie, could I ask for a bit of hand-holding as to what
I do once I have downloaded them ? I know that I need to gunzip and tar -xvf
these files, but once I have done this, I am getting into unfamiliar
territory when it comes to compiling them. I've already tried to compile
some downloaded GIMP plug-ins, and fell flat on my face.

or is it possible to get a pre-compiled package for the developers'
edition of GIMP (e.g. RPMs...) ??

Thanks in advance for your help.

regards,
Andrew

-Original Message-
From: Guillermo S. Romero / Familia Romero [mailto:[EMAIL PROTECTED]]
Sent: Friday, 7 July 2000 8:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Fonts in Script-FU Dialogs


Am I missing something ?  The version of the GIMP that I have is 1.04.

You answered your own question: 1.0.4. Get a 1.1.x and try again, nice
widgets for script-fu dialogs (and a lot more of things).

GSR






RE: Fonts in Script-FU Dialogs

2000-07-08 Thread Guillermo S. Romero / Familia Romero

[...]
Firstly, am I going down the right track by looking here ?

Yes, if you know how to compile after getting the files.

Secondly, what do I do with these files once I download them -- some of
these files are large, so I am not going to download them yet until I know
for sure these are what I want.

Get the bz2 better (smaller, but same contents), the basic is 1.1.24. If you
have 1.1.23, you can get the patch file instead. If you do not have lots of
brushes, textures and similar things, get the extra too.

Thirdly, as I am a newbie, could I ask for a bit of hand-holding as to what
I do once I have downloaded them ? I know that I need to gunzip and tar -xvf
these files, but once I have done this, I am getting into unfamiliar
territory when it comes to compiling them. I've already tried to compile
some downloaded GIMP plug-ins, and fell flat on my face.

Oh oh. For the bz2 you have to use bunzip2, then tar (or single command tar
with special params, read the man page... btw it also works with gz, add
-z). The process is explained in a file that comes, readme or install, I can
not remember exactly. Normally ./configure --things-I-want, make, make
install. You can give it a try, but as I newbie I dunno if you will like it.

or is it possible to get a pre-compiled package for the developers'
edition of GIMP (e.g. RPMs...) ??

Of course, Helix GNOME provides RPM of it, even 1.1.24 as some pointed out.

GSR
 




Fonts in Script-FU Dialogs

2000-07-06 Thread Andrew J Fortune


Hi all,

I recently made a posting saying that I was running GIMP for Windows. I
still am, but I have recently re-installed Mandrake Linux, purely so that I
can get at the full functionality of the GIMP (which is slightly limited in
the Windows port). I have had Linux installed before, but I had so many
problems with the LILO prompt, that I scrapped that idea for a while.

I have noticed that when I run a Script-FU logo, the Font field on the
dialog does not allow you to select from a list of fonts. Rather, you have
to type in the name manually. This seems a bit primitive !

Am I missing something ?  The version of the GIMP that I have is 1.04.

regards,
Andrew




Batch Mode Script-Fu

2000-06-16 Thread D Herring

I have a script-fu which works nicely in the standard mode.  Its
transforms pictures into a customized "old fashioned" look with the
effortlessy.

I just can't figure out the command line which will get the Gimp (I
upgraded to bleeding-edge 1.1.23 because 1.0.4 wasn't doing it) to
properly run my script.

A batch script is waiting to accept this command line so it can
transform a few hundred pictures while I sleep.

Any help would be greatly appreciated.

Thanks,
Daniel Herring
[EMAIL PROTECTED]

P.S.  Here's the script (Blazenly hacked from Chris's old-photo
script...)

;
; old-photo
;
;
; Chris Gutteridge ([EMAIL PROTECTED])
; At ECS Dept, University of Southampton, England.

; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of the License, or
; (at your option) any later version.
; 
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
; 
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

; Define the function:

(define (script_fu_CMFilter inFile outFile noise)

(set! inImage (car (gimp-file-load 1 inFile inFile)))
(set! theImage inImage)
(set! theLayer (car (gimp-image-flatten theImage)))

(gimp-by-color-select theLayer '(255 0 255) 0 2 0 0 0 0) ;Pull
out the transparency color
(gimp-selection-invert theImage)

(begin (plug-in-noisify TRUE theImage theLayer TRUE noise noise
noise noise)
(gimp-desaturate theLayer)
(gimp-brightness-contrast theLayer -20 -40)
(gimp-color-balance theLayer 0 TRUE 30 0 -30)
)

(gimp-selection-none inImage)
;   (gimp-display-new theImage)
;   (gimp-displays-flush theImage)
(set! theLayer (car (gimp-image-flatten theImage)))
(file-bmp-save 1 theImage theLayer outFile outFile)
(gimp-layer-delete theLayer)
(gimp-image-delete theImage)
)

; Register the function with the GIMP:

(script-fu-register
"script_fu_CMFilter"
"Toolbox/Xtns/Script-Fu/Decor/CMFilter"
"This script is being designed to automatically add graininess to a
picture and switch the colors to those of an old photo"

"Daniel Herring"
"2000, Daniel Herring / EECS dept, University of Kansas, USA"
"15th June 2000"
"RGB RGBA GRAY GRAYA"
SF-VALUE "Input File" "\"/home/nuntius/Desktop/CMDemoPics/337.bmp\""
SF-VALUE "Output File"
"\"/home/nuntius/Desktop/CMDemoPics/test.bmp\""
SF-VALUE "Noise" "0.3"
)



script-fu-selection-round only with restart?

2000-06-15 Thread Thomas Stolt

Hi List!

I have decided, that I want to stay with the script-fu-selection-round, instead of the 
perl-fu.  This is simply because this function does it ... nearly :)

Could somebody please verify the following short script (maybe a Linux user, since I 
am on Solaris, and I have discovered differences here):
---
(define (script-fu-text-testscript inText inFont inFontSize inTextColor)
 (let*
  (
(theImage (car (gimp-image-new 200 60 RGB)))
(theText)
(theLayer (car (gimp-layer-new theImage 200 60 RGB_IMAGE "layer" 100 NORMAL)))
  )
 (gimp-image-add-layer theImage theLayer 0)
 (gimp-drawable-fill theLayer WHITE-IMAGE-FILL)
 (gimp-selection-all theImage)
 (script-fu-selection-round 0 theImage theLayer "1.0")
 (gimp-image-clean-all theImage)
 (gimp-display-new theImage)
 )
)
(script-fu-register
 "script-fu-text-testscript";func name
 "Toolbox/Xtns/Script-Fu/Text/Test Script";menu pos
 "Creates..."
 "Michael Terry";author
 "copyright 1997, Michael Terry";copyright notice
 "October 27, 1997" ;date created
 "" ;Image type
 SF-VALUE "Text:" "\"Text Box\"";a text variable
 SF-VALUE "Font:" "\"Charter\"" ;a text variable
 SF-VALUE "Font size:" "45" ;a text variable
 SF-COLOR "Color:" '(0 0 0) ;color variable
)


The strange thing here is, that I can call this script once (it just gives me a white 
image with a rounded selection), but when I call this script again, I get the error 
message:

Script-Fu Error
ERROR: Procedural database execution failed:
(gimp_selection_bounds 0)

Only when I restart gimp, I can use it again!

Any ideas?  ... highly welcome ...

 Thomas

___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de




Re: script-fu-selection-round only with restart?

2000-06-15 Thread Alan Buxey

hi,


 The strange thing here is, that I can call this script once (it just gives me a 
white image with a rounded selection), but when I call this script again, I get the 
error message:
 
 Script-Fu Error
 ERROR: Procedural database execution failed:
 (gimp_selection_bounds 0)
 
 Only when I restart gimp, I can use it again!

this is because you have hardcoded the image/layer as '0'.

if you keep running GIMP, then the next image you process will not be 0,
but 1,2,3 etc etc

I have had to use hardcoded numbers in my script until I can find out why
my variables arent passed through...this means I have to quit after using
my script (which is okay because its a cron batch job anyway!) but
I'd prefer to have it working.

alan




Re: script-fu-selection-round only with restart?

2000-06-15 Thread Thomas Stolt

Alan,

thanks very much!

However, I need a little "fill in" on this:

First, I think you are right, when I let the first picture open, the 
fu-selection-round works still on the first picture.  Only when I close the first one, 
I will get the error.  But how do I get around it?  And which "0" are you referring to?


thanks in advance

Thomas


___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de




Re: perl-fu-round-sel does not work in script-fu?

2000-06-14 Thread Thomas Stolt

I believe, there is a slight misconception, what I will achive (no wonder, I did not 
say it:-):


This script will _create a new_ picture and does something with it.

add these lines to (script-fu register ..)
SF-IMAGE "The image" 0
SF-DRAWABLE "The layer" 0
they have to be the first variables passed. Gimp will get the
correct layer and image for you.
dont forget to bind them to variables in your function declaration
for example :
(define (script-fu-text-box image layer
inText inFont inFontSize inTextColor)

So, this would be correct, if I had a script which does something with a existing 
picture, right?

I would like to do my own buttons, just like the button scripts, that come with gimp.

Now, the strange thing, as I mentioned in the first mail, is, that everything works 
fine, but the last step is just skipped, no error ... no action - nothing. When I let 
the script run, it creates the picture and selects the rectangle (all).  When I do the 
last step manually, it works perfectly!?!

Why?

regards
Thomas

___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de




perl-fu-round-sel does not work in script-fu?

2000-06-13 Thread Thomas Stolt

Hi UserList
===

Here is a question I posted to the newsgroup, but no response yet.  I hope, I have 
more luck here.  I am working on Solaris 2.7 and managed to compile the whole bunch to 
get Gimp 1.1.23 working, but now...

...I am stuck.  Below, you find a short script, nothing difficult or special,  just a 
beginners effort.  There is a layer beeing created, all selected (square selection of 
the image), then I tried to round the selection, but it just does not work.  I do not 
get an error message, the selection is just still rectangle.  The strange about this 
is: when I do it manually, it works!!!
  
 Any ideas?
  
 Thanks in advance!
 Thomas
 
 (define (script-fu-text-box inText inFont inFontSize inTextColor) (let* (
 (theImageWidth 100)
 (theImageHeight 30)
 (theImage (car (gimp-image-new theImageWidth theImageHeight RGB))) 
(gimp-image-add-layer theImage theLayer1 0)
 (gimp-drawable-fill theLayer1 WHITE-IMAGE-FILL)
 (gimp-selection-all theImage)
 (perl-fu-round-sel 1 theImage theLayer1 1)
 (gimp-display-new theImage)
 (gimp-image-clean-all theImage)
 )
 )
 (script-fu-register
 "script-fu-text-box"  ;func name 
"Toolbox/Xtns/Script-Fu/Text/Text Box"  ;menu pos "Creates a simple text box, 
sized to fit around the
 user's Choice of text,font, font size, and
 color."
 "Michael Terry";author
 "copyright 1997, Michael Terry";copyright notice "October 27, 1997"   
 ;date created
 "";Image type that the script works on
 SF-VALUE "Text:" "\"Text Box\"";a text variable SF-VALUE "Font:" 
"\"Charter\"";a text variable SF-VALUE "Font size:" "45";a text 
variable
 SF-COLOR "Color:" '(0 0 0);color variable )
-
___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de




Re: perl-fu-round-sel does not work in script-fu?

2000-06-13 Thread Marc Lehmann

On Tue, Jun 13, 2000 at 12:37:39PM +0200, Thomas Stolt [EMAIL PROTECTED] wrote:
 ...I am stuck.  Below, you find a short script, nothing difficult or special,  just a

I am not fluent on script-fu, but I don't see where your "theLayer1" comes
from, so I am not sure wether this is the whole script or not.

  (perl-fu-round-sel 1 theImage theLayer1 1)

Another note: Shouldn't you use something like RUN-NONINTERACTIVE instead
of a hardcoded "1"?

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: script-fu prog for tutorial

2000-06-07 Thread Mike Markowski

Hi all,

One more quick note on the script-fu function that follows
a tutorial (more info at URL below).  I have been urged to
link to the file from a web page rather than just point to the
file itself.  So, please use

http://udel.edu/~mm/gimp/

to get to my rather measly gimp page...

Thanks!
Mike



script-fu prog for tutorial

2000-06-06 Thread Mike Markowski

Hi all,

I've just finished writing a Scheme script-fu program that mostly
follows along with the tutorial at

http://www.gimp.org/tut-sum1.html

I discovered that script-fu is easy, but finding documentation isn't.
To that end, I've tried to thoroughly comment my program at

http://udel.edu/~mm/gimp/framed-glass-text.scm

I've tried to put in not only comments describing the Scheme calls,
but comments mentioning things where I got stuck, etc.  Slightly
unrelated to the code, but hopefully will save a few headaches out
there.  I'd appreciate feedback on how to improve it, too, if you
have any ideas.  Anyway, I thought that for folks who have gone
through the tutorial manually, they could then follow up on it
with this program.  It's probably not worth looking at the program
before doing the tutorial, though.  You really need to get familiar
with it, and making mistakes trying to do it is the best way.

Also, for those not interested in script-fu (but who probably aren't
reading this now, anyway!), the program might be interesting enough to 
use as is.

Thanks!
Mike



Re: script-fu prog for tutorial

2000-06-06 Thread Alan Buxey

Hi,

 I've just finished writing a Scheme script-fu program that mostly
 follows along with the tutorial at
 
   http://www.gimp.org/tut-sum1.html
 
 I discovered that script-fu is easy, but finding documentation isn't.
 To that end, I've tried to thoroughly comment my program at
 
   http://udel.edu/~mm/gimp/framed-glass-text.scm

great! I'm going to have to have a look at that! I've been trying to write 
a Scheme script-fu, but my result works - however I cant use it as a menu
ption, or from a command line (I really want to do shell batch processing)
 
 Also, for those not interested in script-fu (but who probably aren't
 reading this now, anyway!), the program might be interesting enough to 
 use as is.

well, i'll certainly be having a look! You are right about the current
level of script-fu documentation...and getting the current scipt-fu's
and sets under your command can be quite painful :-|

alan




Re: script-fu: applying a mask

2000-06-06 Thread Marc Lehmann

On Tue, Jun 06, 2000 at 11:03:58AM -0400, Mike Markowski [EMAIL PROTECTED] wrote:
 What are the Scheme calls to apply a mask to its layer?

the pdb call you want is gimp_image_remove_layer_mask

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script Fu ?

2000-05-10 Thread alex

Hi,

Per Pettersson wrote:

 Hi all!

 I am kinda new to the gimp and I wonder how do I install Script-Fu's, and if
 that is possible. If it is, where can I find them for download?

You can either use 'gimptool' command:
$gimptool --install-script your script name
or simple copy script to "~/.gimp1-1/scripts" directory (on stable version it
"~/.gimp/scripts") :)
To find plugins look at
registry.gimp.org
and for announcements on
www.gimp.org

Good luck!
Alex

--
// Only the fireborn understand blue.



__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



Script Fu ?

2000-05-10 Thread Per Pettersson

Hi all!

I am kinda new to the gimp and I wonder how do I install Script-Fu's, and if 
that is possible. If it is, where can I find them for download?

Best regards, Per Pettersson
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: script-fu developers ?

2000-04-07 Thread Ingo Ruhnke

"Christian Schlange" [EMAIL PROTECTED] writes:

 Is this list the right place for discussions about script-fu-development
 (in scheme and perl) ?

Jupp.

-- 
ICQ: 59461927http://pingus.seul.org | 
Ingo Ruhnke [EMAIL PROTECTED] http://home.pages.de/~grumbel/ |
'



script-fu developers ?

2000-04-06 Thread Christian Schlange

Hello,

Is this list the right place for discussions about script-fu-development
(in scheme and perl) ?

Thanx, 
Christian 





Re: script-fu developers ?

2000-04-06 Thread Marc Lehmann

On Wed, Apr 05, 2000 at 02:27:57PM +0200, Christian Schlange 
[EMAIL PROTECTED] wrote:
 Hello,
 
 Is this list the right place for discussions about script-fu-development
 (in scheme and perl) ?

Yes, although you cannot do script-fu development in perl yet ;)


-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-Fu beginner...

2000-03-31 Thread Fábio Sato

Hi Christian,

---
 .
 .
 .
 Then you get a reference to the active layer, called drawable ...
 You simple pass 'drawable' to all the functions then. Was this
 your problem ?
---

Ok, this works if you work interactively, when you open the files by
yourself and right click on the image and select the script. But my
problem is that I want it to work in batch mode, so I have to open the
images in the script.

I can use a script to open the images and call another one to do the
dirty job, passing the references to the images and to the drawables
(like you mentioned). So my problem is this: how can I open a file
(within a script) and get a reference to the background layer ?

Thanks a lot!
-- 
Fábio Sato - [EMAIL PROTECTED]



Script-Fu beginner...

2000-03-30 Thread Fábio Sato

Hi people,

I'm beginning to work with script-fu and I'm having a little difficulty
to load two images and paste one into other.

I'm wondering how do I know which is the reference to the background
layer of a image that I've just opened. I think that my error is
occurring when I try to pass the drawable references to the
gimp-edit-copy/paste functions. I simple passed "0" (I don't know any
reference, so I thought that "0" would refer to first layer in the
stack), but it's not working...

This is what I've tried:

;;
(define (teste fileImg1 fileImg2)
  (let*
(
  (img1)
  (img2)
)

  ; Ahh! Other question: what is the difference between these guys?
  ; -
  ; --/
  ; ||

  (set! img1 (car (gimp-file-load 0 fileImg1 fileImg1)))
  (set! img2 (car (gimp-file-load 0 fileImg2 fileImg2)))
 
  (gimp-edit-copy img1 0)
  (gimp-edit-paste img2 0 TRUE)
 
  (gimp-display-new img2)
  )
)
 
(script-fu-register
  "teste"
  "Toolbox/Xtns/Script-Fu/Teste/Teste"
  "Teste"
  ""
  ""
  ""
  ""
 
  SF-VALUE "Image 1: " "\"mapafinal.jpg\""
  SF-VALUE "Image 2: "
"\"manha.gif\""  
)


Thanks
-- 
Fábio Sato - [EMAIL PROTECTED]



script-fu: split-image

2000-03-29 Thread Christian Schlange

HI

I've just finished a script-fu that splits an RGB*-image into pieces and
saves them them to gifs. I needed this script to produce buttons for a
web-site. If you create web-gfx with gimp you often have many icons,
buttons or whatever of one type. So its easier to create and manipulate
all elements in ONE image. My problem was, that I had to cut-out about
20 elements, pixel-accurate, and save them to gifs. And I had to repeat
this procedure after every little change (e.g. color-change).

So I wrote this little script-fu, which cuts a large image in a number of rows
and saves these to gifs. It works on RGB*-pictures only (it produces black
images when working with indexed-mode, don't ask me why). It  takes the
parameters:

yoffset y-pixel-offset (where the first row starts)
yheight height off the rows
ydelta  difference between two rows (usually = yheight)
ypieceoffsetyou can skip whole rows with this parameter, e.g.
start with row 2).
ypieces number of rows to cut
savepathpath and name of images, if you cut 8 images and
set savepath to c:\tmp\image it will result in in
c:\tmp\image0.gif, c:\tmp\image1.gif ..

So, after offering my script I must warn you. There is a BIG PROBLEM with it.
It crashes gimp if the amount of ypieces gets to high. I tried to deallocate/free/
delete the used layers, but i didn't work. Freeing the image doesn't work too...

So, maybe there is some script-fu-master here to help me 
Now the script:

-- snip 

; split-image.scm
; 03/16/2000

(define (script-fu-selection-split-image image drawable yoffset yheight ydelta 
ypiecesoffset ypieces
savepath)
( let* (
(ystart yoffset)
(iwidth (car (gimp-image-width image)))
(iheight (car (gimp-image-height image)))
(draw-type (car (gimp-drawable-type-with-alpha drawable)))
(image-type (car (gimp-image-base-type image)))
(old-bg (car (gimp-palette-get-background)))
(savename "")
(postfix 0)
(ypiecescount 0)
)

(gimp-image-undo-disable image)

(set! ypiecescount ypiecesoffset)
(set! ystart (+ ystart (* ypiecescount ydelta)))

(while ( ypiecescount ypieces)
   (gimp-rect-select image 0 ystart iwidth yheight REPLACE FALSE 0)

(gimp-edit-copy drawable)

(set! new-image (car (gimp-image-new iwidth yheight image-type)))
(set! new-draw (car (gimp-layer-new new-image iwidth yheight draw-type "Selection" 
100 NORMAL)))
(gimp-image-add-layer new-image new-draw 0)
(gimp-drawable-fill new-draw BG-IMAGE-FILL)

(let (
   (floating-sel (car (gimp-edit-paste new-draw FALSE)))
)
 (gimp-floating-sel-anchor floating-sel)
)

; (set! new-display (car (gimp-display-new new-image)))
(set! savename (string-append savepath (number-string postfix)))
(set! savename (string-append savename ".gif"))
(set! postfix (+ postfix 1))
; (gimp-message savename)

(gimp-convert-indexed new-image 3 0 256 FALSE FALSE "")
(gimp-file-save 1 new-image new-draw savename savename)

; (gimp-image-delete new-image)
; (gimp-display-delete (new-display))   ; does NOT WORK, g

(gimp-image-set-active-layer image drawable)
(set! ystart (+ ystart ydelta))
(set! ypiecescount (+ ypiecescount 1))
; (set! ystart iheight)
  )

  (gimp-image-undo-enable image)
  (gimp-palette-set-background old-bg)
(gimp-displays-flush)

)
)

(script-fu-register
"script-fu-selection-split-image"
"Image/Script-Fu/Selection/Split An Image"
"Split an image to rows and save
the images as indexed gif's works
on flattened RGB Images-Only"
"Christian Schlange [EMAIL PROTECTED]"
"Christian Schlange"
"03/09/2000"
"RGB* GRAY*"
SF-IMAGE "Image" 0
SF-DRAWABLE "Drawable" 0
SF-VALUE "yoffset:" "1"
SF-VALUE "yheight:" "19"
SF-VALUE "ydelta:" "22"
SF-VALUE "ypieceoffset:" "0"
SF-VALUE "ypieces:" "8"
SF-FILENAME "filename (w/o ext): " ""
)






list of script-fu functions?

2000-03-29 Thread Ingo Ruhnke

Hi,

is there somewhere a list of all the function available that are
accessable from script-fu?
I know that there is the DB-Browser, but thats not what I am searching
for, I am interested in all the other functions, which are not listed
in the DB-Browser, especially file and directory handling (fopen,
getc, etc.). 

I thought http://people.delphi.com/gjc/siod.html would be what I am
searching for, but a lot of functions are missing in script-fu
(getenv, opendir, etc.).


Thanks

  Ingo
-- 
ICQ: 59461927http://pingus.seul.org | 
Ingo Ruhnke [EMAIL PROTECTED] http://home.pages.de/~grumbel/ |
'



Re: script-fu dialogs

2000-03-12 Thread [EMAIL PROTECTED]

thanks that would do it.


s@m




Re: script-fu dialogs

2000-03-11 Thread Ingo Ruhnke

"s@m" [EMAIL PROTECTED] writes:

 i made a script that saves an image giving it the filename.
 now i want it to either:
 
 1- remember the last filename i typed
 2- give me the SAVE dialog
 3- have a mecanism to pass a path as a layer name for example.

Something like this will give you at least a file dialog, probably not
exacly what you want, but better than nothing:  
 
(script-fu-register
    "script-fu-tuxracer-save-as-rgbs"
"Image/Script-Fu/Tuxracer/Save Image as RGBs"
"Saves a layed image as seperated RGB images using the layer names as filenames + 
.rgb"
"Ingo Ruhnke"
"1999, Ingo Ruhnke"
"Fri Mar  3 16:00:13 2000"
"RGBA"
SF-IMAGE "Image" 0
SF-DRAWABLE "Drawable" 0
SF-FILENAME "Directory:" "/tmp/")
^^^ - This gives you the dialog
-- 
ICQ: 59461927http://pingus.seul.org | 
Ingo Ruhnke [EMAIL PROTECTED] http://home.pages.de/~grumbel/ |
+



script-fu dialogs

2000-03-09 Thread [EMAIL PROTECTED]

i made a script that saves an image giving it the filename.
now i want it to either:

1- remember the last filename i typed
2- give me the SAVE dialog
3- have a mecanism to pass a path as a layer name for example.

thanks for your help.
dont cc to me i'm subscribed.

s@m



Re: Writing and de-bugging Script-Fu.

2000-02-08 Thread Alex Harford

On Mon, 7 Feb 2000, Simon Wood wrote:

 
 Failing that can anyone see what is wrong?
 
 http://www.mungewell.ndirect.co.uk/fujidx10/fuji-anim.scm
 

Simon, I don't have time to look at your script, but some functions have
changed in script-fu for Gimp 1.1/1.2.  Open the Procedural database, and
look at the calls made around where your script fails.

--
Alex HarfordAlcohol and calculus don't mix.
http://www.dowco.com/~alexh Don't drink and derive.
[EMAIL PROTECTED] Tel: (604) 225-0601



Re: Writing and de-bugging Script-Fu.

2000-02-08 Thread Marc Lehmann

On Mon, Feb 07, 2000 at 02:25:39PM -, Simon Wood [EMAIL PROTECTED] wrote:
 Failing that can anyone see what is wrong?

apart from what others have said, the program scm2scm that comes with
gimp-1.1 (you need perl) translates _some_ of the calls to the new syntax.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Writing and de-bugging Script-Fu.

2000-02-07 Thread Simon Wood

Hi all,
A while ago I wrote a little script to convert the 'continuous' output from
my Fujifilm DX-10 (1024x768 image which is a 3x3 matrix of smaller shots
taken about 1/5 second apart) to a layered GIF animation.

However I now find that with the latest GIMP for Windows
(gimp-setup-2201.zip - based on 1.1.15) it no longer works. Does nothing
at all, doesn't even generate the second image :-(

Is there a method for single stepping a script (so you can follow it's
progress) or outputting a text string (i.e print "stage 1 complete") to the
screen?

Failing that can anyone see what is wrong?

http://www.mungewell.ndirect.co.uk/fujidx10/fuji-anim.scm

Simon Wood



Re: Script-fu

2000-02-03 Thread Stephan Skrodzki

 Is it possible to call a bash-script from within a Script-Fu script. I

Don't know, about the scheme Script-Fu, but when you're working with gimp perl,
this should be no problem.

Regards
 Steve





Re: Script-Fu from Perl-Fu?

2000-01-27 Thread Stephan Skrodzki

  GIMP version 1.1.11
 
 ^^^ that version is waay old it already has a long beard! please try a
 slightly newer one, and most probably everything I said becomes more true.

Yeah, now, after upgrading to 1.1.14 ... all you said came true:

Gimp crashes :-)

Does this just happen with gimp-perl or also with the scheme scripts?

Regards
 sTeve



Re: Script-Fu from Perl-Fu?

2000-01-27 Thread Kelly Lynn Martin

On Thu, 27 Jan 2000 11:35:22 +0100, Stephan Skrodzki 
[EMAIL PROTECTED] said:

Yeah, now, after upgrading to 1.1.14 ... all you said came true:

Gimp crashes :-)

Maybe you should try 1.1.15, which is the most recent developer's
release. :)

Kelly



Re: Script-Fu from Perl-Fu?

2000-01-27 Thread Marc Lehmann

On Thu, Jan 27, 2000 at 11:35:22AM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
 Does this just happen with gimp-perl or also with the scheme scripts?

This happens with anything else that calls script-fu (wether its perl,
python or c), except script-fu itself, since it does not call itself via
the PDB.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-Fu from Perl-Fu?

2000-01-25 Thread Marc Lehmann

On Mon, Jan 24, 2000 at 04:39:01PM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
 This is the result I get then:
 
 marly-text-button: function/macro "script_fu_drop_shadow" not found in Gimp at 
/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)

You need to import the ":auto"-tag from the Gimp module to get all functions
in your current module, or otherwise you have to call it as a static method:

Gimp-script_fu_drop_shadow(...)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-Fu from Perl-Fu?

2000-01-25 Thread Stephan Skrodzki

  marly-text-button: function/macro "script_fu_drop_shadow" not found in Gimp at 
/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)
 
 You need to import the ":auto"-tag from the Gimp module to get all functions
 in your current module, or otherwise you have to call it as a static method:
 
 Gimp-script_fu_drop_shadow(...)

No, I did test both: 

use Gimp qw(:auto __);

and 

Gimp-script_fu_drop_shadow(0,$unsel_lay,8,8,15,"black",60,1);

But still the same result, the script isn't found...

Regards
 Steve

 
| Stephan Skrodzki Phone: +49-621-1565435 "Nobody expects the| 
| Mannheim, Germany  Fax: +49-621-1565083  Spanish Inquisition!" |
| Mobile: +49-173-2003491|
 




Re: Script-Fu from Perl-Fu?

2000-01-25 Thread Marc Lehmann

On Tue, Jan 25, 2000 at 04:25:31PM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
 Gimp-script_fu_drop_shadow(0,$unsel_lay,8,8,15,"black",60,1);
 
 But still the same result, the script isn't found...

Which version of gimp are you using, btw? If it's 1.0, then it indeed
is named "script-fu-drop-shadow", and then you need to call it either like:

"Gimp::script-fu-drop-shadow"-(args)

or

{"Gimp::script-fu-drop-shadow"}(args)

(see the section on "Calling Gimp Functions" in the manpage)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-Fu from Perl-Fu?

2000-01-25 Thread Stephan Skrodzki

 On Tue, Jan 25, 2000 at 04:25:31PM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
  Gimp-script_fu_drop_shadow(0,$unsel_lay,8,8,15,"black",60,1);
  
  But still the same result, the script isn't found...
 
 Which version of gimp are you using, btw? If it's 1.0, then it indeed
 is named "script-fu-drop-shadow", and then you need to call it either like:

nope, as I wrote in the very beginning of this threat:

function/macro "shadow" not found in Gimp at 
/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)
-
stevekist:~/mac/dokumente/Evi  gimp -v

Gdk-WARNING **: locale not supported by C library
Message: Passed serialization test

GIMP version 1.1.11
-

Regards
 Steve


 
| Stephan Skrodzki Phone: +49-621-1565435 "Nobody expects the| 
| Mannheim, Germany  Fax: +49-621-1565083  Spanish Inquisition!" |
| Mobile: +49-173-2003491|
 




Re: Script-Fu from Perl-Fu?

2000-01-25 Thread Marc Lehmann

On Wed, Jan 26, 2000 at 12:27:20AM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
 GIMP version 1.1.11

^^^ that version is waay old it already has a long beard! please try a
slightly newer one, and most probably everything I said becomes more true.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-Fu from Perl-Fu?

2000-01-24 Thread Stephan Skrodzki

  I'd like to use a Script-Fu script from within gimp-perl a Gimp tells me:
 
  script-fu-drop-shadow(0,$unsel_lay,8,8,15,"black",60,1);
 
 You are trying to subtract "shadow" from "drop" from "fu" from
 "script". If you use a recent gimp version, then just use underscores
 (script_fu_drop_shadow) and everything will be fine.
 
 Well, almost. You will find that gimp and/or script-fu will happily crash
 when you try this. It might even work, but script-fu is broken in that
 respect since over a year now, and I don't expect that to change soon.

This is the result I get then:

marly-text-button: function/macro "script_fu_drop_shadow" not found in Gimp at 
/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)

so I can't even check, if gimp could crash :-)

Regards
 Steve



Gimp Script-Fu logo samples

2000-01-24 Thread Michael Opdenacker

Hi!

I created a page which shows standard Gimp logos, without having to run
the tool to try them. As long as there is no preview function in The
Gimp, this should save a lot of time for some of you Gimp users!

http://michaelo.free.fr/gimp/logos.html

Hoping this will be useful...

Michael.

--

=
Michael Opdenacker,
33, rue d'Alembert
38000 Grenoble
+33 476 845 472
[EMAIL PROTECTED]
http://michaelo.free.fr
=





Re: Gimp Script-Fu logo samples

2000-01-24 Thread Jon Winters


I've also got some samples

http://obscura.obscurasite.com/openverse/

They were from a logo design contest we had for OpenVerse Chat.  The only
rule was that the logos were made with Gimp.

Enjoy!

--
Jon Winters http://www.obscurasite.com/
OpenVerse  http://www.openverse.org/



Re: Script-Fu from Perl-Fu?

2000-01-24 Thread Kelly Lynn Martin

On Sun, 23 Jan 2000 18:43:03 +0100, [EMAIL PROTECTED] (Stephan 
Skrodzki) said:

Howdy,
I'd like to use a Script-Fu script from within gimp-perl a Gimp tells me:

function/macro "shadow" not found in Gimp at 
/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)

And excerpt of the script:

use Gimp qw(:auto __);
use Gimp::Fu;

$unsel_lay = gimp_layer_new($img, $img-width, $img-height,
 RGB, "Unsel Shadow", 100, NORMAL_MODE);
$unsel_lay-add_layer(-1);
gimp_layer_add_alpha($unsel_lay);
gimp_edit_clear($unsel_lay);
script-fu-drop-shadow(0,$unsel_lay,8,8,15,"black",60,1);
 ^

Try using script_fu_drop_shadow (underlines, not dashes).

Perl parses this as script - fu - drop - shadow ().  The first
three evaluate to zero, and the last to a call to the (undefined)
subroutine shadow.

return $img;
}

Kelly



Script-Fu from Perl-Fu?

2000-01-23 Thread Stephan Skrodzki

Howdy,

I'd like to use a Script-Fu script from within gimp-perl a Gimp tells me:

function/macro "shadow" not found in Gimp at 
/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)

And excerpt of the script:

use Gimp qw(:auto __);
use Gimp::Fu;

.
.
.
$unsel_lay = gimp_layer_new($img, $img-width, $img-height,
  RGB, "Unsel Shadow", 100, NORMAL_MODE);
$unsel_lay-add_layer(-1);
gimp_layer_add_alpha($unsel_lay);
gimp_edit_clear($unsel_lay);
script-fu-drop-shadow(0,$unsel_lay,8,8,15,"black",60,1);
return $img;
}

where line 39 is the one with the call to script-fu-drop-shadow...

What am I doing wrong?

Best regards
 STeve

 
| Stephan Skrodzki Phone: +49-621-1565435 "Nobody expects the| 
| Mannheim, Germany  Fax: +49-621-1565083  Spanish Inquisition!" |
| Mobile: +49-173-2003491|
 




Re: Script-Fu from Perl-Fu?

2000-01-23 Thread Marc Lehmann

On Sun, Jan 23, 2000 at 06:43:03PM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
 Howdy,
 
 I'd like to use a Script-Fu script from within gimp-perl a Gimp tells me:

 script-fu-drop-shadow(0,$unsel_lay,8,8,15,"black",60,1);

You are trying to subtract "shadow" from "drop" from "fu" from
"script". If you use a recent gimp version, then just use underscores
(script_fu_drop_shadow) and everything will be fine.

Well, almost. You will find that gimp and/or script-fu will happily crash
when you try this. It might even work, but script-fu is broken in that
respect since over a year now, and I don't expect that to change soon.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: script-fu

2000-01-22 Thread Guillermo S. Romero / Familia Romero

click OK, it disappears instead of working, and leaves me the message: Too few
arguments. I don't understand it, because I did it just like in the (german)
GUM.

It is not compatible with Gimp 1.1, only 1.0. I had problems like that, it
means that a function now requires more parameters than old version (and
your script uses it). Use PDB to investigate. Try to input the script by
hand and watch where it dies.

Does anybody know a reliable tutorial for script-fu?
Or would somebody be so kind and have a look on the script?

Sorry, busy, exams in a week, I can not now. :|
http://google.com/ and search. ?:[
Maybe other could help, I am sure somebody had to port all old scripts to
new versions, ask in devel list.

GSR
 



Re: script-fu

2000-01-21 Thread Hago Ziegler

Hi Guillermo, Uwe,

Thank you for helping,
 
after having checked all that you consulted, I can find the two concerned
scripts under Xtns in the toolbox and in the DB Browser.

I also can get the Parameter-Boxes on the Desktop, and one Script (a
very simple one) even works, but when I do some settings on the other one and
click OK, it disappears instead of working, and leaves me the message: Too few
arguments. I don't understand it, because I did it just like in the (german)
GUM.

Does anybody know a reliable tutorial for script-fu?
Or would somebody be so kind and have a look on the script?

Hago



script-fu

2000-01-20 Thread Hago Ziegler

Hi everybody,

in chapter 38 of the "Gimp User Manual" I found an example for how to do a
Script-fu. For the beginning I copied the example-script to
/root/.gimp-1.1/scripts/ , made "refresh" and tried to find it in the DB
Browser. But there was nothing. I copied it also to
/usr/local/share/gimp/scripts/, with the same result.

What am I doing wrong. 
The "Gimp User Manual" relates to Gimp1.0.4. I run Gimp 1.1.15.

Hago



Re: script-fu

2000-01-20 Thread Guillermo S. Romero / Familia Romero

in chapter 38 of the "Gimp User Manual" I found an example for how to do a
Script-fu. For the beginning I copied the example-script to
/root/.gimp-1.1/scripts/ , made "refresh" and tried to find it in the DB
Browser. But there was nothing. I copied it also to
/usr/local/share/gimp/scripts/, with the same result.

Have you checked the source of the script? Maybe it is wrongly typed or is
not compatible with Gimp 1.1.

What am I doing wrong. 
The "Gimp User Manual" relates to Gimp1.0.4. I run Gimp 1.1.15.

Maybe that is the problem. I would try to copy a script that works to
$HOME/.gimpdir/scripts/ (and remove it from original place, well, better
rename it, so you do not lose it) and then see if it appears or not.

Also check that your config knows where to search. But I doubt that is the
problem, cos if you place them with files that load but it does not... btw,
is the file readable?

BTW, does anybody want to provide a destructive script so you can learn that
the root account is only to install things and other administrative tasks,
never to run them? After watching how all your data (entire HDs) goes away I
guess you will get why you should use an user account.

GSR
 



script-fu examples

2000-01-18 Thread Wandered Inn

I've followed the various links from gimp.org to the various script-fu
sites.  Many are non-existent or broken.  I'm trying to find out how I
can create a simple batch script.  All I need to do is rotate some
images 90 degrees.  But, it's about 150 images and for obvious reasons,
a non-interactive solution will same much time.

Anyone have any pointers as to where I can at least find a listing of
the available commands for script-fu scripts?

--
Until later: Geoffrey   [EMAIL PROTECTED]

I'm afraid there will be more problems with W2K then there were with
Y2K...



Re: script-fu examples

2000-01-18 Thread Carl-Johan Sveningsson

 I've followed the various links from gimp.org to the various script-fu
 sites.  Many are non-existent or broken.  I'm trying to find out how I
 can create a simple batch script.  All I need to do is rotate some
 images 90 degrees.  But, it's about 150 images and for obvious reasons,
 a non-interactive solution will same much time.
 
 Anyone have any pointers as to where I can at least find a listing of
 the available commands for script-fu scripts?

Eh, how about using ImageMagick and do a simple:

for i in *.jpg
do
convert -rotate 90 "$i"
done

And you should be done with it! :-)
It's great, I simply love IM for scripting...
No real reason that I can see to start up gimp for that...

/WoC

 "fast det e klart.. lira rysk roulette
  med en haubitz vore rätt tufft..."
-- hört från Steamshark

--o--o-oOo-o--o--

  Carl-Johan Sveningsson
  HHGTTG researcher 96339 
[EMAIL PROTECTED]
 +46 370 99112
  ICQ# 2357535
http://come.to/woc/
  http://wlug.westbo.se/



Re: script-fu examples

2000-01-18 Thread Wandered Inn

Thanks, worked like a charm.

Carl-Johan Sveningsson wrote:
 
  I've followed the various links from gimp.org to the various script-fu
  sites.  Many are non-existent or broken.  I'm trying to find out how I
  can create a simple batch script.  All I need to do is rotate some
  images 90 degrees.  But, it's about 150 images and for obvious reasons,
  a non-interactive solution will same much time.
 
  Anyone have any pointers as to where I can at least find a listing of
  the available commands for script-fu scripts?
 
 Eh, how about using ImageMagick and do a simple:
 
 for i in *.jpg
 do
 convert -rotate 90 "$i"
 done
 
 And you should be done with it! :-)
 It's great, I simply love IM for scripting...
 No real reason that I can see to start up gimp for that...
 
 /WoC
 
  "fast det e klart.. lira rysk roulette
   med en haubitz vore rätt tufft..."
 -- hört från Steamshark
 
 --o--o-oOo-o--o--
 
   Carl-Johan Sveningsson
   HHGTTG researcher 96339
 [EMAIL PROTECTED]
  +46 370 99112
   ICQ# 2357535
 http://come.to/woc/
   http://wlug.westbo.se/

--
Until later: Geoffrey   [EMAIL PROTECTED]

I'm afraid there will be more problems with W2K then there were with
Y2K...



Re: script-fu examples

2000-01-18 Thread Wandered Inn

Actually, I mis-spoke.  It did not work.  convert complains:

convert: Missing an image file name [No such file or directory]

Using 'convert -rotate 90 14.jpeg'

and 14.jpeg is in the current directory.

Suggestions??


Carl-Johan Sveningsson wrote:
 
  I've followed the various links from gimp.org to the various script-fu
  sites.  Many are non-existent or broken.  I'm trying to find out how I
  can create a simple batch script.  All I need to do is rotate some
  images 90 degrees.  But, it's about 150 images and for obvious reasons,
  a non-interactive solution will same much time.
 
  Anyone have any pointers as to where I can at least find a listing of
  the available commands for script-fu scripts?
 
 Eh, how about using ImageMagick and do a simple:
 
 for i in *.jpg
 do
 convert -rotate 90 "$i"
 done
 
 And you should be done with it! :-)
 It's great, I simply love IM for scripting...
 No real reason that I can see to start up gimp for that...
 
 /WoC
 
  "fast det e klart.. lira rysk roulette
   med en haubitz vore rätt tufft..."
 -- hört från Steamshark
 
 --o--o-oOo-o--o--
 
   Carl-Johan Sveningsson
   HHGTTG researcher 96339
 [EMAIL PROTECTED]
  +46 370 99112
   ICQ# 2357535
 http://come.to/woc/
   http://wlug.westbo.se/

--
Until later: Geoffrey   [EMAIL PROTECTED]

I'm afraid there will be more problems with W2K then there were with
Y2K...



wanted: Script-fu that converts wmf to jpg

2000-01-17 Thread Grant Wallace

Hi folks,
I´m new to this list and new to gimp. 

My problem is the following:

I have something like a hundred wmf-files, that need to be converted to
jpg

a script containing something like

...
file-wmf-load ...
file-jpg-save ...
...

should do. 
Is there any one, who ever wrote something like this?
(this scheme stuff is a little cryptic for me right now ...)

cu
Grant
--



Re: wanted: Script-fu that converts wmf to jpg

2000-01-17 Thread Michael Johnson

 I have something like a hundred wmf-files, that need to be converted to
 jpg
 
 a script containing something like
 
 ...
 file-wmf-load ...
 file-jpg-save ...
 ...
 
 should do.
 Is there any one, who ever wrote something like this?
 (this scheme stuff is a little cryptic for me right now ...)

you might want to try the "convert" command in the ImageMagick package.
I just looked at the man page, but it doesn't seem to list wmf as one of the
file types it recognizes.
I also don't see it in the list of file types for GIMP in the "Load Image"
dialog.

what are wmf files?

as far as script-fu is concerned, a script like the one you have in mind would
be very simple.
have you looked at GUM (Gimp User Manual) at manual.gimp.org ?
Sorry if that was a dumb question to ask.

Michael Johnson



Script-fu and gimp-1.1.11

1999-11-28 Thread alex

Hi all,
Is it just me, or does gimp-1.1.13 break some parts of script-fu? Things
like the excellent wax-text and wax-seal scripts don't work any more, with
errors like:
 
 Script-Fu Error
 ERROR: unbound variable (errobj gimp-image-disable-undo)

I assume the script tries to diable undos [why would it do that?], but
the gimp isn't too happy with that. Here are my vital statistics:
gimp-1.1.13, GNU/Linux 2.2.10 [Intel], SuSE 6.2. Made with './configure
--with-included-gettext  make  make install'

Also, can someone tell me, did something break between 1.1.7 and 1.1.12
that made the SOTA Chrome script not work properly? It produced really
flat looking logos.


--
||
|See my website at http://www.linux66.freeserve.co.uk|
||






Re: Script-fu and gimp-1.1.11

1999-11-28 Thread Carl-Johan Sveningsson

It's not just you. I have it too, at least with my own scripts...
Someone know what it's about?

/WoC

On Mon, 22 Nov 1999, alex wrote:

 Hi all,
 Is it just me, or does gimp-1.1.13 break some parts of script-fu? Things
 like the excellent wax-text and wax-seal scripts don't work any more, with
 errors like:
  
  Script-Fu Error
  ERROR: unbound variable (errobj gimp-image-disable-undo)
 
 I assume the script tries to diable undos [why would it do that?], but
 the gimp isn't too happy with that. Here are my vital statistics:
 gimp-1.1.13, GNU/Linux 2.2.10 [Intel], SuSE 6.2. Made with './configure
 --with-included-gettext  make  make install'
 
 Also, can someone tell me, did something break between 1.1.7 and 1.1.12
 that made the SOTA Chrome script not work properly? It produced really
 flat looking logos.
 
 
 --
 ||
 |See my website at http://www.linux66.freeserve.co.uk|
 ||
 
 
 


 "fast det e klart.. lira rysk roulette
  med en haubitz vore rätt tufft..."
-- hört från Steamshark

--o--o-oOo-o--o--

  Carl-Johan Sveningsson
  HHGTTG researcher 96339 
[EMAIL PROTECTED]
 +46 370 99112
  ICQ# 2357535
http://come.to/woc/
  http://wlug.westbo.se/



Re: Script-fu and gimp-1.1.11

1999-11-28 Thread nigel

There was some discussion on the developers list about undo that you may
want to take a look at. However I dont know if it answers your question
as Im not a programmer and therefor dont understand what there on about.

http://www.mail-archive.com/gimp-developer%40scam.xcf.berkeley.edu/

As for things being broken past and present, well thats just part and
parcel of the developers version isnt it? ;)

Carl-Johan Sveningsson wrote:
 
 It's not just you. I have it too, at least with my own scripts...
 Someone know what it's about?
 
 /WoC
 
 On Mon, 22 Nov 1999, alex wrote:
 
  Hi all,
  Is it just me, or does gimp-1.1.13 break some parts of script-fu? Things
  like the excellent wax-text and wax-seal scripts don't work any more, with
  errors like:
 
   Script-Fu Error
   ERROR: unbound variable (errobj gimp-image-disable-undo)
 
  I assume the script tries to diable undos [why would it do that?], but
  the gimp isn't too happy with that. Here are my vital statistics:
  gimp-1.1.13, GNU/Linux 2.2.10 [Intel], SuSE 6.2. Made with './configure
  --with-included-gettext  make  make install'
 
  Also, can someone tell me, did something break between 1.1.7 and 1.1.12
  that made the SOTA Chrome script not work properly? It produced really
  flat looking logos.
 
 
  --
  ||
  |See my website at http://www.linux66.freeserve.co.uk|
  ||
 
 
 
 
  "fast det e klart.. lira rysk roulette
   med en haubitz vore rätt tufft..."
 -- hört från Steamshark
 
 --o--o-oOo-o--o--
 
   Carl-Johan Sveningsson
   HHGTTG researcher 96339
 [EMAIL PROTECTED]
  +46 370 99112
   ICQ# 2357535
 http://come.to/woc/
   http://wlug.westbo.se/



Re: Script-fu and gimp-1.1.11

1999-11-28 Thread Marc Lehmann

On Sun, Nov 28, 1999 at 09:04:18PM +0100, Carl-Johan Sveningsson [EMAIL PROTECTED] 
wrote:
 It's not just you. I have it too, at least with my own scripts...
 Someone know what it's about?

Yes, many functions have been renamed to be more consistent (e.g.
gimp_image_disable_undo is now gimp_image_undo_disable).

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



script-fu

1999-11-26 Thread Koot

Hi everyone

I installed Gimp 1.1.11 to use more than 72 dpi,

with my first installation I could not use the script-fu options; Gimp would just 
close.

I have now re-compiled it and installed it again, now I can use the script-fu options, 
but
only once, then I get a Segmentation fault caught?
If I want to use it again, I must save what I have got open and restart Gimp (the 
positive
side is that it does not close gimp any more, I can go on working, I just cant use the
script-fu options)

Now when running the config command I get a
Parse::RecDescent 1.6 for scm2perl error,

On examining the Perl Error/Warning log (after installing Gimp) I also noted the 
following
error:
gimpmagick Image:: Magick version 1.45 and it is fatal

now my question will be, where do I find the packages, so that I can install them and 
not
get the first error.
and then where do i get Magick version 1.45?

Thanks for the help