Re: [Gimp-user] Script-fu : gimp-text-fontname and text variable

2006-09-19 Thread Nicolas
On Wed, Sep 20, 2006 at 12:15:26AM +0200, Nicolas MAUFRAIS wrote: Hello, I made a script-fu script, in which I write some text, using this syntax: (set! text-float (car (gimp-text-fontname img texteblanc 66 448 text_to_write 0 1 34 0 FleurishScript Ultra-Light))) Photo is a variable

Re: [Gimp-user] script-fu: copy + paste

2006-09-09 Thread saulgoode
The thing that I notice in your script is that the new layer you create has its transparency set to 0. Other than that, the paste is being performed, it is just not visible in the output. Hi, I tried to set up my first script. I wanted to modify the old-photo script in such a way to make

Re: [Gimp-user] script-fu

2006-08-16 Thread Jan Wuerthner
Hi, I found a solution to that problem: just in case, anyone is interested: the command is qsort: (set! li '(4 6 2 3 8)) (qsort li ) gives (2 3 4 6 8) you can even sort tables: (set! li '((4 a) (6 b) (2 c) (3 d) (8 e))) (qsort li car) gives ((2 c) (3 d) (4 a) (6 b) (8 e))

Re: [Gimp-user] script-fu question

2006-07-13 Thread Sven Görsmann
Thanks for the pointer! I tried it on one of the scripts and it worked perfecthope the other scripts con be converted so easy, too. Sven [EMAIL PROTECTED] schrieb: Kevin Cozens provides a script written in Perl which will convert older script-fus to work with the newer API

Re: [Gimp-user] script-fu - ERROR: bad function

2006-07-12 Thread Narushima Hironori
Wow, I modify code by refer follow code to running script! Thank you. (Difficult to learn new language, but script-fu is very useful. thank you.) [EMAIL PROTECTED] wrote: I think that what saulgoode pointed out DOES meet your trouble. By the error message Gimp told that the value of (print

Re: [Gimp-user] script-fu question

2006-07-12 Thread saulgoode
Kevin Cozens provides a script written in Perl which will convert older script-fus to work with the newer API (http://www.interlog.com/~kcozens/software/gimp/2.0/script-update.pl). Even if you do not have Perl on your machine, you should be able to use the information in the script to

Re: [Gimp-user] script-fu - ERROR: bad function

2006-07-11 Thread Narushima Hironori
[EMAIL PROTECTED] wrote: I think that there exists a problem with the construct of your IF statement. My scheme format might be strange. But that is not relation with error `ERROR: bad function.' I use The GIMP for Windows (version 2.2.11) in WindowsXPSP2. (binary founded in

Re: [Gimp-user] script-fu - ERROR: bad function

2006-07-11 Thread out_of_s
[EMAIL PROTECTED] wrote: I think that there exists a problem with the construct of your IF statement. My scheme format might be strange. But that is not relation with error `ERROR: bad function.' I think that what saulgoode pointed out DOES meet your trouble. By the error message Gimp

Re: [Gimp-user] Script-fu, watermark

2005-12-16 Thread Roland Berger
Pavel wrote: I need a script (and a batch?) which will read .jpg file names from a file list and mark all of these files with greyscale watermark (aka logo), which will be place at exact location of those pictures (for example, lower right corner). Watermark must be read from a .gif file.

Re: [Gimp-user] Script-fu, watermark

2005-12-10 Thread Pavel Sorokin
On Sat, 10 Dec 2005 20:50:12 +0200, peter kostov [EMAIL PROTECTED] wrote: On Fri, 2005-12-09 at 19:56 +0200, Pavel Sorokin wrote: I`m totally new to Gimp and Script-fu but I have to do this one thing using Script-fu. I need a script (and a batch?) which will read .jpg file names from a file

Re: [Gimp-user] Script-fu, watermark

2005-12-10 Thread michael chang
On 12/9/05, Pavel Sorokin [EMAIL PROTECTED] wrote: I`m totally new to Gimp and Script-fu but I have to do this one thing using Script-fu. I need a script (and a batch?) which will read .jpg file names from a file list and mark all of these files with greyscale watermark (aka logo), which

Re: [Gimp-user] Script-Fu: documentation of SF-ADJUSTMENT and others?

2005-02-25 Thread Andreas Waechter
have a look at test-sphere.scm as found in the source tree. It has comments that explain all the Script-Fu parameters. Thanks, Alan suggested that too, so I searched for that script, downloaded it and looked at it. Andreas ___ Gimp-user mailing list

Re: [Gimp-user] Script-Fu: documentation of SF-ADJUSTMENT and others?

2005-02-24 Thread Alan Horkan
On Thu, 24 Feb 2005, Andreas Waechter wrote: Date: Thu, 24 Feb 2005 14:58:37 +0100 From: Andreas Waechter [EMAIL PROTECTED] To: gimp-user@lists.xcf.berkeley.edu Subject: [Gimp-user] Script-Fu: documentation of SF-ADJUSTMENT and others? Hi, I am trying to write a script-fu script. No, I

Re: [Gimp-user] Script-Fu: documentation of SF-ADJUSTMENT and others?

2005-02-24 Thread Andreas Waechter
If your copy of the gimp includes the sphere test (test-sphere.scm) You should read through it first. To the user the script may be ugly but to the programmer it provides invaluable comments and clear examples that help you get started with Script-Fu. I did not find that script on my machine. I

Re: [Gimp-user] Script-Fu: documentation of SF-ADJUSTMENT and others?

2005-02-24 Thread Sven Neumann
Hi, have a look at test-sphere.scm as found in the source tree. It has comments that explain all the Script-Fu parameters. Sven ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Re: [Gimp-user] script-fu text

2004-08-05 Thread Mark Andrachek, Jr.
Ok, turns out, I need to do both hinting and kerning (the letter spacing was off too). So, some searching found that I need to use plug-in-freetype, which takes care of all of this, and produces *perfect* text for me, at least in interactive mode. I seem unable to specify the font_file correctly

Re: [Gimp-user] script-fu text

2004-08-05 Thread Sven Neumann
Hi, Mark Andrachek, Jr. [EMAIL PROTECTED] writes: I've got some script's I'm porting over from 1.2 to 2.0. (I'm using the windows version, if it makes a difference.) There have been some changes, but I've gotten the scripts working again. I had to add an alpha channel to my layers so I

Re: [Gimp-user] script-fu text

2004-08-05 Thread Sven Neumann
Hi, Mark Andrachek, Jr. [EMAIL PROTECTED] writes: So, some searching found that I need to use plug-in-freetype, which takes care of all of this, and produces *perfect* text for me, at least in interactive mode. I seem unable to specify the font_file correctly to be able to call it in

Re: [Gimp-user] script-fu text

2004-08-05 Thread Mark Andrachek, Jr.
I seem unable to specify the font_file correctly to be able to call it in non-interactive mode though. The font file name is actually wmb_.pfm. I've tried that, with and without the full path (c:\Windows\fonts\wmb_.pfm), and I've tried the font name by itself (Myriad Bold). I am

Re: [Gimp-user] script-fu from the cmdline, arguments not working ...

2004-04-02 Thread Irek Slonina
On Fri, 2 Apr 2004, Norbert Preining wrote: Hi! With gimp-2.0 I cannot get gimp script-fu working from the cmdline: (define (script-fu-fileload txt) [..] But on the cmdline: gimp --no-data -i --verbose -b '(script-fu-fileload 0 foobar)' [..] Why does you define it with one argument,

Re: [Gimp-user] Script-fu problem -- how to load an image

2004-03-23 Thread Norbert Preining
On Mon, 22 Mär 2004, Sven Neumann wrote: Here the script: (define (script-fu-fileload filein) (gimp-message-set-handler 1) ; Create an img and a layer (gimp-message 1) (gimp-message filein) (set! my-image (gimp-file-load 1 filein filein)) (gimp-message 2))

Re: [Gimp-user] Script-fu problem -- how to load an image

2004-03-22 Thread Sven Neumann
Hi, Norbert Preining [EMAIL PROTECTED] writes: I am trying to extend one of my scripts from an old version but cannot get gimp-file-load to work: Here the script: (define (script-fu-fileload filein) (gimp-message-set-handler 1) ; Create an img and a layer (gimp-message 1)

Re: [Gimp-user] Script-Fu/Logos/Text Circle question

2004-03-22 Thread John Culleton
On Sunday 21 March 2004 06:42 pm, Geoffrey wrote: Peter L. Hurd wrote: Hey All, I want to put text in a circle, but with the top and bottom halves of the circle both reading from left to right. The top half is easy to do with the Xtns - Script-Fu - Logos - Text Circle and a 180

Re: [Gimp-user] Script-Fu/Logos/Text Circle question

2004-03-21 Thread Sven Neumann
Hi, Peter L. Hurd [EMAIL PROTECTED] writes: I want to put text in a circle, but with the top and bottom halves of the circle both reading from left to right. The top half is easy to do with the Xtns - Script-Fu - Logos - Text Circle and a 180 degree arc of text, so far so good. The

Re: [Gimp-user] Script-Fu/Logos/Text Circle question

2004-03-21 Thread Geoffrey
Geoffrey wrote: Peter L. Hurd wrote: Hey All, I want to put text in a circle, but with the top and bottom halves of the circle both reading from left to right. The top half is easy to do with the Xtns - Script-Fu - Logos - Text Circle and a 180 degree arc of text, so far so good. The bottom

Re: [Gimp-user] script-fu without display problem

2004-02-06 Thread Sven Neumann
Hi, Irek Sonina [EMAIL PROTECTED] writes: I have wrote a small script-fu script to be run by the web, but I have encountered a problem. Script lookes like this: (define (script-fu-xcf2gif infile outfile) (let* ( (img (car (gimp-file-load 1 infile infile)))

Re: [Gimp-user] script-fu without display problem

2004-02-06 Thread Sven Neumann
Hi, Irek Slonina [EMAIL PROTECTED] writes: On Fri, 6 Feb 2004, Sven Neumann wrote: This script can only work accidentally. Have a look at this line: (drawable (car (gimp-drawable-get-image img))) Here you are accessing an image as if it was a drawable and then assign the image

RE: [Gimp-user] Script-Fu Help

2003-09-28 Thread G . DeSercey
-Modify all three defines to include one more parameter, as such: (define (... s-offset-y bg-colour) -Modify the call to apply-3d-outline-logo-effect in the two (script-fu-3d-outline-... to include the same parameter: (apply-3d-outline-logo-effect ... s-offset-y bg-colour) -In each

Re: [Gimp-user] Script-Fu Help

2003-09-26 Thread Jeff Trefftzs
On Thu, 2003-09-25 at 23:20, Zeke Lightwave wrote: I'm trying to edit the 3D-Outline script so I can change the background to being something non-white, can anybody help me with this? I've looked at the source and tried changing the colors where it set's the bg/fg, but that didn't help . .

Re: [Gimp-user] Script-Fu Help

2003-09-26 Thread Zeke Lightwave
Jeff Trefftzs wrote: On Thu, 2003-09-25 at 23:20, Zeke Lightwave wrote: I'm trying to edit the 3D-Outline script so I can change the background to being something non-white, can anybody help me with this? I've looked at the source and tried changing the colors where it set's the bg/fg, but

Re: [Gimp-user] script-fu

2003-03-18 Thread Jeff Trefftzs
Hi Pablo - Yes, indeedy. This is a good list to post script-fu questions. I also recommend the script-fu list on yahoo: [EMAIL PROTECTED] You may need to join that list to post on it, but that's relatively painless. HTH, -- --Jeff Jeff Trefftzs [EMAIL PROTECTED]

Re: [Gimp-user] script-fu problem with directory listing

2003-02-20 Thread Robin Roevens
Anyone? Please? Robin On Thursday 30 January 2003 01:25, Robin Roevens wrote: Hi all I want to create a script-fu for the generation of a navigation menu for photo-album VCD's. Now my problem is that I want to load all images in a certain directory, perform some actions on them and put

Re: [Gimp-user] Script-Fu - Batch Mode Problem

2002-12-30 Thread matt
Quality is pretty subjective. After reading your messages, I resized some images with ImageMagick and the Gimp and I found an interesting thing: When I looked at the resized images without zooming, the ImageMagick-resized images looked sharper, clearer and showed finer detail than the

Re: [Gimp-user] Script-Fu - Batch Mode Problem

2002-12-26 Thread pcg
On Thu, Dec 26, 2002 at 07:04:42PM -, [EMAIL PROTECTED] wrote: convert sourcefile -filter mitchell -geometry newgeometry destfile ok, I tried thisand I got an image that was not up to par with what can be done with Adobe's Image ready doing a similiar process. However, with

Re: [Gimp-user] Script-Fu Help (beginner)

2002-09-06 Thread Jeff Trefftzs
Hi Keith - I just tried the same thing on a Linux system - I think the problem is with the dynamic text layer. Try using Layer to Imagesize on that layer first, before calling the alpha to logo script-fu. I haven't had a chance to look at the neon script-fu code yet, but it looks like it's

Re: [Gimp-user] Script-fu: copy an image into a different image

2002-08-16 Thread Joel
To get it to work, I rewrote a little bit of your script. You had this: (gimp-image-scale pic-1 new-pic-width new-pic-height) (if ( (car (gimp-image-get-layers pic-1)) 1) (gimp-image-merge-visible-layers pic-1 1) )

Re: [Gimp-user] Script-fu: copy an image into a different image

2002-08-15 Thread Volker Lenhardt
Am Donnerstag, 15. August 2002 13:59 schrieb Joel: To copy the visible parts of the image, use these pdb functions: gimp_image_merge_visible_layers # combine layers in original file gimp_rect_select # create a selection (in original)

Re: [Gimp-user] Script- FU registering

2002-06-01 Thread Joel
A! I see the problem. (I think) Does this sound familiar? You are writing your own script based on the Gimp's glowing_steel script. You made the changes you wanted and asked the Gimp to show your new script (BrushedMaterial) in the Image/Filters/Render/ menu. But it's not showing up.

Re: [Gimp-user] Script-Fu

2002-01-28 Thread Kinberger Michaela
I'm not quite sure what you mean by changing the color of the first pixel to none. Do you want to make it transparent? And do you want that change to apply to all other pixels that have the same color? To find out your version type gimp --version at a shell prompt. You can find out

Re: [Gimp-user] script-fu treatment of TIF images

2001-05-11 Thread Jeff Sheffield
look at http://www.libtiff.org/ http://www.imagemagick.org/ I have used PerlMagick to rotate and scale tiff images but I suspect you will find what you need in image magicks convert program. Jeff On Fri, May 11, 2001 at 11:00:45AM -0700, Stephen Odewahn wrote: Before I dig deeply

Re: [Gimp-user] Script-Fu command line parsing help needed

2001-04-11 Thread Jeff Trefftzs
Try escaping the embedded tick mark with a backslash: /usr/bin/gimp -i -d -c -b '(script-fu-bla-bla "Let\'s Go\!")' '(gimp-quit 0)' At a guess it's a shell problem. You may want to escape the exclamation point, too. -- --Jeff Jeff Trefftzs [EMAIL PROTECTED] http://www.tcsn.net/trefftzs

<    1   2