[Gimp-user] Script-fu (Scheme) and UTF-8 literals

2008-05-14 Thread Jonathan Dearborn
Hey, I've been having trouble finding how to encode UTF-8 special characters into a string literal in Script-fu. Could someone provide an example of how to hard-code international characters into a string? Specifically, I'm trying to put ascii codes 161 - 255 into a string with each

Re: [Gimp-user] Script-fu (Scheme) and UTF-8 literals

2008-05-14 Thread Torsten Neuer
Hello, I've been having trouble finding how to encode UTF-8 special characters into a string literal in Script-fu. Could someone provide an example of how to hard-code international characters into a string? The simplest and easiest way is to use a text editor that is capable of switching

Re: [Gimp-user] Script-fu (Scheme) and UTF-8 literals

2008-05-14 Thread Jonathan Dearborn
that you know of? Thanks for your help, Jonny D From: [EMAIL PROTECTED] To: gimp-user@lists.xcf.berkeley.edu Date: Wed, 14 May 2008 16:28:25 +0200 Subject: Re: [Gimp-user] Script-fu (Scheme) and UTF-8 literals Hello, I've been having trouble finding how to encode UTF-8 special

Re: [Gimp-user] Script-fu gimp-file-save-thumbnail function

2008-01-07 Thread Martin Bradley
Hi Joao, May I suugest this code instead of the above? : from gimpfu import * def python_fu_create_thumb(filename): img = pdb.gimp_file_load(filename, filename) pdb.gimp_file_save_thumbnail(img, filename) register ( python-fuc-create-thumb, Create Thumbnail of Image

Re: [Gimp-user] Script-fu gimp-file-save-thumbnail function

2008-01-07 Thread Manish Singh
On Mon, Jan 07, 2008 at 07:30:22PM +, Martin Bradley wrote: I don't want to try to get your code working because I know nothing about Python, I know it is a good language. The other reason I'm not happy using it is that it adds another layer of software to a solution that should work on

Re: [Gimp-user] Script-fu gimp-file-save-thumbnail function

2008-01-04 Thread Kevin Cozens
Martin Bradley wrote: (define (script-fu-create-thumb filename) (let* ((img 0)) ;; car needed here because gimp functions return values as lists (set! img (car (gimp-file-load 1 filename filename)) (gimp-file-save img filename) (print (gimp-file-save-thumbnail img

Re: [Gimp-user] Script-fu gimp-file-save-thumbnail function

2008-01-04 Thread Martin Bradley
Hi Folks, You have an error in your placement of ')'. That was because I thought set was used similar to (let ..) I don't think you need the file save since you haven't changed the file since it was loaded. I have corrected the arguments. I saved the file first because

Re: [Gimp-user] Script-fu gimp-file-save-thumbnail function

2008-01-04 Thread Kevin Cozens
Martin Bradley wrote: I'd been slowly trying to learn Common Lisp and thought that Script-Fu had it. Here is the scheme coding tutorial I was using, most likely the wrong thing to be reading. http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-1.html#node_toc_node_sec_4.1 Script-Fu

Re: [Gimp-user] Script-fu gimp-file-save-thumbnail function

2008-01-04 Thread Joao S. O. Bueno
On Friday 04 January 2008 19:35, Martin Bradley wrote: Hi Folks, You have an error in your placement of ')'. That was because I thought set was used similar to (let ..) I don't think you need the file save since you haven't changed the file since it was loaded. I have corrected the

[Gimp-user] Script-Fu needed: apply Auto-White-Balance on all images...

2007-12-17 Thread [EMAIL PROTECTED]
Hi! I needed a script-fu routine that apply Auto-White-Balance on all OPENED images... Like the Save-All script-fu that provided by an user in this list. I don't wanna use outer tool, because sometimes the Auto-White-Balance is makes wrong result. So, I wanna work like this: 1.) I open 20-50

Re: [Gimp-user] Script-Fu needed: apply Auto-White-Balance on all images...

2007-12-17 Thread Kevin Cozens
[EMAIL PROTECTED] wrote: I needed a script-fu routine that apply Auto-White-Balance on all OPENED images... Like the Save-All script-fu that provided by an user in this list. I don't wanna use outer tool, because sometimes the Auto-White-Balance is makes wrong result. By outer tool I

[Gimp-user] Script-Fu help?

2007-11-07 Thread Dave 77459
I have some scripts I am upgrading to work with 2.4. What is the best place to find help? I've asked the question before in this list, and found help here. I don't want to send these help requests if they are unwelcome or if there is an official, better place. Gimp-developer seems focused on

Re: [Gimp-user] Script-Fu help?

2007-11-07 Thread Tobias Jakobs
On Nov 7, 2007 8:53 PM, Dave 77459 [EMAIL PROTECTED] wrote: I have some scripts I am upgrading to work with 2.4. What is the best place to find help? This list is the right place. I think the fastes way to get help is the GIMP IRC channel. If you are updating from 2.2 to 2.4 you can find here

[Gimp-user] Script-fu errors after upgrade 2.2.15 = 2.4.0-rc2

2007-09-07 Thread Jan Tomasek
Hi, I seek help with migrating script-fu script from Gimp 2.2 to 2.4. A long, long time ago I wrote script-fu script to automate adding boder to my photos [1] (just simple frame and two texts at bottom of image). After upgrade to 2.4.0-rc2 script stoped working, first I found problem with

Re: [Gimp-user] Script-fu errors after upgrade 2.2.15 = 2.4.0-rc2

2007-09-07 Thread Pere Pujal i Carabantes
El dv 07 de 09 del 2007 a les 15:19 +0200, en/na Jan Tomasek va escriure: I seek help with migrating script-fu script from Gimp 2.2 to 2.4. After upgrade to 2.4.0-rc2 script stoped working, first I found problem with (set! variable ...) syntax, I replaced that by (define variable ...)

Re: [Gimp-user] Script-fu SF-FILENAME don't show the default setting

2007-09-03 Thread Pere Pujal i Carabantes
On Wed, 2007-08-29 at 01:17 +0200, Pere Pujal i Carabantes wrote: When using SF-FILENAME, if the file exist, the name of the file is shown in the button, but if the file does not exist, ie. has to be created, there is (none) in the button. Is there a way to show the name on the button even

[Gimp-user] Script-fu SF-FILENAME don't show the default setting

2007-08-28 Thread Pere Pujal i Carabantes
Hi all! When using SF-FILENAME, if the file exist, the name of the file is shown in the button, but if the file does not exist, ie. has to be created, there is (none) in the button. Can someone else reproduce? Is there a way to show the name on the button even if the file does not exist?

Re: [Gimp-user] Script-fu help

2007-05-29 Thread RalfGesellensetter
Am Montag 28 Mai 2007 21:13 schrieb ASJF: I have change something but I don't remember what... Can someone help me? Don't you have a working copy? If you don't use a CVS/SVN, you might get help from diff (or kdiff3 if you use KDE). Otherwise: Thanks for sharing your script ;)

[Gimp-user] Script-fu help

2007-05-28 Thread ASJF
Hi everybody ! I have made a script to resize picture... but it doesn't work anymore, I have change something but I don't remember what... Can someone help me? Thanks a lot ! Jeff Here is my code : (define (script-fu-image-resize filename f-width f-height f-quality) (let* ( (img 0)

Re: [Gimp-user] Script-fu help

2007-05-28 Thread saulgoode
Quoting ASJF [EMAIL PROTECTED]: Hi everybody ! I have made a script to resize picture... but it doesn't work anymore, I have change something but I don't remember what... Can someone help me? I suspect that you are using the development version (2.3) of the GIMP and your difficulty is

Re: [Gimp-user] Script-Fu error

2007-03-13 Thread Sven Neumann
Hi, On Tue, 2007-03-13 at 05:47 +0100, Stephan Hegel wrote: However, I do think the problem itself will be a user issue even when I'm a bit ahead at the moment and have tried the developer version already. When you release version 2.4 (or a release candidate of it) the problem will pop up

Re: [Gimp-user] Script-Fu error

2007-03-12 Thread Sven Neumann
Hi, On Mon, 2007-03-12 at 07:20 +0100, Stephan Hegel wrote: I've tried Gimp 2.3.15 with the following script: http://turtle.as.arizona.edu/jdsmith/exposure-blend.scm When launching Gimp I get the following error: script-fu-Warning: Error while executing (load

Re: [Gimp-user] Script-Fu error

2007-03-12 Thread Stephan Hegel
Hello Sven, Sven Neumann wrote: Since you are using the development version, you should be subscribed to the gimp-developer mailing-list. We haven't written a decent document describing the changes in Script-Fu yet, but you can read about them in the mailing-list archives. Thanks for the

[Gimp-user] Script-Fu error

2007-03-11 Thread Stephan Hegel
Hi there, I've tried Gimp 2.3.15 with the following script: http://turtle.as.arizona.edu/jdsmith/exposure-blend.scm When launching Gimp I get the following error: script-fu-Warning: Error while executing (load /home/steve/.gimp-2.3/scripts/exposure-blend.scm) Error: set!: unbound variable:

[Gimp-user] Script-Fu Question about Saving Image to Network Share

2007-03-10 Thread Tony Freeman
Hello, I'm writing a script-fu for use in my office. The idea is to reduce the amount of steps the user needs to take in order to save an acquired screenshot to our website. * *The problem I am having is that I cannot seem to save a file to an smb:// type address. This is the error I get

Re: [Gimp-user] Script-Fu Question about Saving Image to Network Share

2007-03-10 Thread Sven Neumann
Hi, On Sat, 2007-03-10 at 12:58 -0500, Tony Freeman wrote: If saving to a network drive is not possible (such as smb://), is there some other trick I could use to get the image over there? GIMP 2.2 doesn't save to remote locations. You could try your luck with the 2.3 development version or

Re: [Gimp-user] Script-Fu Question about Saving Image to Network Share

2007-03-10 Thread GSR - FR
Hi, [EMAIL PROTECTED] (2007-03-10 at 1258.19 -0500): If saving to a network drive is not possible (such as smb://), is there some other trick I could use to get the image over there? Mount the network drive. You can use smbmount or fusesmb, for example. Then files will appear in the main

Re: [Gimp-user] script-FU console query

2007-01-14 Thread Saul Goode
Sven Neuman wrote: On Sat, 2007-01-13 at 20:33 -0800, Saul Goode wrote: Note that you will see no change in the display; even if you were to perform a 'gimp-displays-flush'. If that is true, then this is a bug and needs to be fixed. Can you provide a test script that illustrates the

Re: [Gimp-user] script-FU console query

2007-01-14 Thread Kevin Cozens
Adam wrote: Like in the following, which the Procedure Browser says should be; num_images INT32 The number of Images open image_ids INT32ARRAY The list of images currently open = (gimp-image-list) (1 #(2)#102) so, #(2)#102 is a single entry array of the image ID ? How

Re: [Gimp-user] script-FU console query

2007-01-14 Thread Sven Neumann
Hi, On Sun, 2007-01-14 at 12:24 -0800, Saul Goode wrote: (define image 1) (define layer (car (gimp-image-get-active-layer image))) (gimp-drawable-set-pixel layer 1 1 3 (cons-array 3 'byte)) Note that at this point, the pixel at location x=1, y=1 has internally been painted BLACK

Re: [Gimp-user] script-FU console query

2007-01-14 Thread Adam
Thanks Kevin. Understood. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: [Gimp-user] script-FU console query

2007-01-14 Thread Adam
Just tried, and set-pixel works for me using the Saul test method. Yes, I had to toggle the 'eyeball' to get it to appear - yet to try gimp-drawable-update / gimp-displays-flush. Thanks, gentlemen, for clearing my original 'image' and 'drawable' query. Welcome to SIOD, Scheme In One

[Gimp-user] script-FU console query

2007-01-13 Thread Adam
Am using Gimp on Linux, and can run scripts from ./gimp-2.2/scripts but using the script-FU Console and its Procedure Browser I have trouble with. I'm assumimg operations within the Console are interactive with the currently loaded image(s) or xcf. Simple commands work, using

Re: [Gimp-user] script-FU console query

2007-01-13 Thread Saul Goode
I will do my best to explain some things. Simple commands work, using 'Apply' from the Procedure Browser screen, like; = (gimp-version) (2.2.8) Note that the return value is a LIST containing the string 2.2.8. All PDB functions return a LIST of items even if that list only contains one

Re: [Gimp-user] script-FU console query

2007-01-13 Thread Saul Goode
In my response, I had a cut-n-paste error in the last code-segment. The line: (gimp-drawable-set-pixel drawable 1 1 4 (color-as-bytes red blue green alpha)) should be changed to: (gimp-drawable-set-pixel drawable x-coord y-coord 4 (color-as-bytes red blue green alpha)) The 4 in the line

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

2006-09-20 Thread Sven Neumann
Hi, On Wed, 2006-09-20 at 00:15 +0200, Nicolas wrote: 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 : SF-VALUE

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

2006-09-20 Thread Nicolas
On Wed, Sep 20, 2006 at 06:03:33PM +0200, Nicolas MAUFRAIS wrote: On Wed, Sep 20, 2006 at 09:06:57AM +0200, Sven Neumann wrote: It would help if you showed us the full script. From the snippets you posted so far, I can only guess that you misunderstood the concept of variable declaration in

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

2006-09-20 Thread Nicolas
On Wed, Sep 20, 2006 at 09:09:13PM +0200, Sven Neumann wrote: Hi, On Wed, 2006-09-20 at 20:15 +0200, Nicolas wrote: What are the first and second variables? 1 and 2 ? Where do they come from??? SF-IMAGE Image 0 SF-DRAWABLE Drawable 0

[Gimp-user] Script-fu : merge and save to PNG

2006-09-20 Thread Nicolas
Hello, I got my script-fu script working, and producing the image I need. Here it is : http://www.europephoto.com/info/titres_genealogie.scm However, I can't save the image when it's merged. It works if I don't merge the layers, but as soon as they're merged, there's an error. I followed the

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

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

2006-09-09 Thread Daniel Barna
Hi, I tried to set up my first script. I wanted to modify the old-photo script in such a way to make the border fade out into transparency instead of a color. I failed. Below is the simplified script, which should only make a transparent border, but it does not work. My idea was to 1 - make a

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
)) kind regards Jan Würthner Original-Nachricht Datum: Mon, 14 Aug 2006 17:03:45 +0200 Von: Jan Wuerthner [EMAIL PROTECTED] An: gimp-user@lists.xcf.berkeley.edu Betreff: [Gimp-user] script-fu Hello all, i am trying to do some scripting with gimp's scheme interpreter. Can

[Gimp-user] script-fu

2006-08-14 Thread Jan Wuerthner
Hello all, i am trying to do some scripting with gimp's scheme interpreter. Can anyone tell me how to sort a list? From the internet I found (set! mylist '(10 3 12)) (sort mylist ) should give (3 10 12), but I get a batch command: experienced an execution error. by the way: Is there a

[Gimp-user] Script-fu help?

2006-08-04 Thread William Fishburne
Hi, I'm processing text images for Project Gutenberg (www.gutenberg.net) and I'd like to have a script-fu script that would take a list of files (preferably a file glob) and do the following: * read in the file (a png file that is RGB) * Desaturate HSV * Merge the layers of the desaturated

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

[Gimp-user] script-fu question

2006-07-12 Thread Sven Görsmann
Hi there! I have the following problem: in the past i used some gimp script-fus that i wrote to run under gimp 1.1.x and 1.2.x. Then script-fu function names/calls changed a lil bit and the scripts didn't work anymore. The script-execution ends in a pop-up-box with errors. Same thing with

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

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

2006-07-11 Thread saulgoode
I think that there exists a problem with the construct of your IF statement. The format of IF statements in Scheme is: (if condition do_this_if_true do_this_if_false ) For example: (if ( x 0) (print X is negative) (print X is positive) ) The do_this_if_false is optional but if

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

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

2006-07-10 Thread Narushima Hironori
I write follow script (convert bitmap images to join layer to distribute animated gif file) But I'm in stagnation. Console display only `ERROR: bad function' and other no hint. -- (define (bmp_to_gifani directory transparent-color ms-per-frame) (let* ( (filelist (cadr (file-glob

[Gimp-user] script-fu-batching how to merge and save?

2006-03-26 Thread ghostcorps
Hi GuysI have just started playing with script-fu as I need to run a batch on some icons for my X-server. I am using Spencer Kimballs alien-glow-logo.scm as my template and have hacked as much out of it as I can using the instructions here http://www.gimp.org/tutorials/Basic_Batch/ and here

[Gimp-user] Script-fu newbie: need to batch-convert files to indexed color

2006-01-08 Thread Paul Santa Maria
Hi - I'm new to Script-Fu, Scheme and Gimp plug-ins. I'm running gimp 2.2.4 on SuSE Linux 9.3. I've been through all of the tutorials, and several days of trial-and-error, but I just can't get it to work. I need to write a script that converts all of the *.png files in a directory from RGBA

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

[Gimp-user] script fu and image file support?

2005-08-23 Thread woc
I'm hoping someone can point me in the right direction. I want to write gimp support for an obscure file format. The format is relatively simple (simpler than TGA or BMP, for the most part), but does have a few variations where I would want to use multiple layers. I've written code in perl to

[Gimp-user] Script-fu inclusion for 2.4

2005-04-27 Thread Eric P
I made a Script-fu script that I find indispensable for pushing pixels at work. It's called Rounded Selection, and it does just that. Here's its Gimp registry home: http://registry.gimp.org/plugin?id=4937 And here's a direct link:

[Gimp-user] Script-fu and menu

2005-04-11 Thread J.Filby
Hi, starting from a script posted on this list I wrote the one below that applies colorize tool to a group of files. The script can be called from the menu, but when I try to run it a second time, the item in the menu becomes grey and I have to refresh the scripts to run it again. Someone can help

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

[Gimp-user] Script-Fu scripts only run partially after update to 2.2.2

2005-01-19 Thread Frank
Hello all :) I successfully compiled gimp-2.2.2 under Linux yesterday. The main program runs fine and as expected. What causes me some headache is the following: * From the image window select a Script-Fu script * Let it run -- it run's mostly okay but finally crashes with error message

[Gimp-user] script-fu Bevel questions

2004-11-03 Thread Matthew Kettlewell
All, I'm trying to create some buttons that are beveled along the edges, have an optional pressed-in look, etc. I'm basing my script-fu work on the script-fu-button00 function (file: beveled-button.scm). I'm understanding everything in the example code up until the point that it makes a

[Gimp-user] Script-Fu question ... Callinging another script from within?

2004-10-31 Thread Matthew Kettlewell
All, Is it possible to call an interactive script from within an interactive script? Let me clarify... If I call script-fu-test1, and I fill out the parameters and let it compute, is it possible to have that script call another script that asks me for more input parameters? One case that

[Gimp-user] script-fu text

2004-08-05 Thread Mark Andrachek, Jr.
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 could raise/lower them, add gimp-edit-fill after

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,

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

2004-04-01 Thread Norbert Preining
Hi! With gimp-2.0 I cannot get gimp script-fu working from the cmdline: (define (script-fu-fileload txt) (gimp-message 1) (gimp-message txt) (gimp-message 2)) ; Finally register our script with script-fu. (script-fu-register script-fu-fileload _Toolbox/Script-Fu/Norb/fileload

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

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

2004-03-22 Thread Norbert Preining
Hello! Gimp version 2.0pre4 (debian/sid gimp1.3 1.3.27+2.0pre4) 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

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

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

2004-03-21 Thread Peter L. Hurd
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 half is more problematic, since the

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

[Gimp-user] Script-Fu template

2004-02-09 Thread Simon Budig
Hi all. I wrote a small script that only has the purpose to serve as a template for your scripts. Feel free to use it as a start for your own scripts. If you have ideas how this script could be improved, feel free to suggest them to me. The script is attached as well as available at

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

[Gimp-user] script-fu without display problem

2004-02-05 Thread Irek Sonina
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))) (drawable (car (gimp-drawable-get-image img))) )

RE: [Gimp-user] Script-Fu Help

2003-09-28 Thread G . DeSercey
PROTECTED] Sent: 26 September 2003 07:20 To: [EMAIL PROTECTED] Subject: [Gimp-user] Script-Fu Help 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

[Gimp-user] Script-Fu Help

2003-09-26 Thread Zeke Lightwave
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 . . TIA. -Brent G

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

[Gimp-user] script-fu name

2003-08-19 Thread Stefaan Himpe
Hi all, I was wondering: what does the fu stand for in the name script-fu ? Does it refer to kung-fu? or the computer sciencist's foo? or both? other? Best regards, Stefaan. ___ Gimp-user mailing list [EMAIL PROTECTED]

[Gimp-user] Script-Fu Scripts

2003-07-13 Thread OverlordQ
Just a quick question, if we edit one of the Script-Fu scripts in the default install of Gimp, do we need to contact the author of said script before we release our modified version, legally that is. ___ Gimp-user mailing list [EMAIL PROTECTED]

[Gimp-user] Script-Fu: Text in a transparent image

2003-04-15 Thread Cismaru Nicolae
Hello, My name is Nicu Cismaru and I am a new user of GIMP. I want to create a script that will generate a transparent gif with my email address. The parameters of the script should be the font and the color. I am using WinGIMP v1.2.3. I have tried to create a script based on the example Michael

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

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

2002-12-19 Thread matt
Hello, I am having an issue with a Script that I have written being called from the command line. Here is what I am trying to do. I have written a script using Scheme that runs great when I have Gimp loaded up (ie not from the command line). No problems, does everything that I want. The real

[Gimp-user] Script-Fu Run Mode

2002-10-19 Thread Kevin Myers
Hello, How can a script-fu script determine whether it is running interactively or not? Thanks. Kevin M. ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

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

<    1   2   3   >