On Mon Oct 25 10:03:38 PDT 2010 Sven Neumann said:
but if I try, subfolder Joint Scripts doens't appear
Any way to get a space in a subfolder name?
Are you sure? I wonder how all the scripts in the Alpha to Logo
folder register themselves then. Perhaps you should register the
menu
Try getting rid of the double parenthesis around the
gimp-image-get-active-vectors.
-Rob A
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
On Sun, 2010-10-24 at 20:24 +, Alan Campbell wrote:
I'd like to do
(script-fu-menu-register some_func Image/File/Create/Joint
Scripts)
but if I try, subfolder Joint Scripts doens;t appear
(script-fu-menu-register some_func
Image/File/Create/JointScripts)
works fine. Any way
Quoting Alan Campbell gimp-u...@alancampbelllists.ukfsn.org:
Always got the Woodrat folder under File | Create menu, no
shortcut key indicated.
On 3 Oct 2010 at 11:17:05, Sven Neumann wrote:
I am pretty sure that it theoretically should work this way. After
all the Script-Fu extension
On 4 Oct 2010 at 10:21:16 PDT
saulgoode at flashingtwelve.brickfilms.com wrote:
It is not a problem with the branch register command not being
processed, but that branch registration seems to require that
plug-in be associated with it (see
'plugin_menu_branch_register_invoker()' in
On Sun, 2010-10-03 at 12:59 +, Alan Campbell wrote:
One of uses of an underscore is to pick out the shortcut character in
a menu item:
(script-fu-register wrdhb_create_half_blind_dovetail
_Half blind dovetail... ;menu label
Create Template for Half blind Dovetail
)
Hi Sven,
On 3 Oct 2010 at 14:19, Sven Neumann wrote:
On Sun, 2010-10-03 at 12:59 +, Alan Campbell wrote:
One of uses of an underscore is to pick out the shortcut character
in a menu item:
(script-fu-register wrdhb_create_half_blind_dovetail
_Half blind dovetail... ;menu
On Sun, 2010-10-03 at 13:42 +, Alan Campbell wrote:
You need to explicitly create the submenu using
gimp-plugin-menu-branch-register. This procedure should accept
mnemonics marked with an underscore.
Tried
(gimp-plugin-menu-branch-register Image/File/Create W_oodrat)
Always got the Woodrat folder under File | Create menu, no
shortcut key indicated.
On 3 Oct 2010 at 11:17:05, Sven Neumann wrote:
I am pretty sure that it theoretically should work this way. After
all the Script-Fu extension itself creates sub-menus this way and
those sub-menus do have
Quoting Alan Campbell gimp-u...@alancampbelllists.ukfsn.org:
That's really an abuse of the gimprc though.
So it's really only meant for GIMP and GIMP plugin settings?
I agree with Sven that using gimprc for this purpose is inappropriate.
Also it looks like once I've called gimp-gimprc-set,
On 10 Sep 2010 at 9:35, Rob Antonishen wrote:
Ta for reply.
use the
https://bugzilla.gnome.org/show_bug.cgi?id=572865
Thanks, got that working.
Instead of parasites consider using gimp_gimprc_set() and
gimp_gimprc_query() which don't seem to have this issue.
In Script-fu console
On Sat, 2010-09-11 at 16:53 +, Alan Campbell wrote:
On 10 Sep 2010 at 9:35, Rob Antonishen wrote:
https://bugzilla.gnome.org/show_bug.cgi?id=572865
Thanks, got that working.
Instead of parasites consider using gimp_gimprc_set() and
gimp_gimprc_query() which don't seem to have
On Sat, 2010-09-11 at 16:53 +, Alan Campbell wrote:
On 11 Sep 2010 at 12:26, Sven Neumann wrote:
In Script-Fu it's gimp-gimprc-set.
Works, ta.
That's really an abuse of the gimprc though.
So it's really only meant for GIMP and GIMP plugin settings?
Also it looks like once I've
Hi Saul,
Many thanks for instant help.
I'm trying to figure ut if there's any way that choices made by
user in dialog widgets can be remembered and used as values
of those widgets next time dialog runs.
That is precisely how script dialogs currently behave; the last
used values are
Quoting Alan Campbell gimp-u...@alancampbelllists.ukfsn.org:
parasites are just what I need. Can't find much about them.
(list WRF_BIT_WIDTH 1 (number-string bit-width)))
First list member: parasite ID string.
What's the second list member? Flags, I understand from one search
result I
Quoting Alan Campbell gimp-u...@alancampbelllists.ukfsn.org:
Hi,
I'm trying to figure ut if there's any way that choices made by a
user in dialog widgets can be remembered and used as values of those
widgets next time dialog runs.
That is precisely how script dialogs currently behave; the
Dillon wrote:
(set! num-layers (car (gimp-image-get-layers newimage)))
(set! layerIDs (cadr (gimp-image-get-layers newimage)))
What error messages do you get when the above lines are included?
(define (batch-save-as-xcf pattern)
(let* (
(filelist (cadr (file-glob pattern 1)))
! filelist (cdr filelist))
)
)
)
Date: Sun, 06 Jun 2010 17:46:15 -0400
From: saulgo...@flashingtwelve.brickfilms.com
Subject: Re: [Gimp-user] Script-Fu for batch image conversion
To: gimp-user@lists.XCF.Berkeley.EDU
Message-ID:
20100606174615.awibbw09xk44k
as xcfname
(gimp-message Saving the new file.)
(gimp-file-save RUN-NONINTERACTIVE newimage drawable xcfname xcfname)
(set! filelist (cdr filelist))
)
)
)
Date: Sun, 06 Jun 2010 17:46:15 -0400
From: saulgo...@flashingtwelve.brickfilms.com
Subject: Re: [Gimp-user
as xcfname
(gimp-message Saving the new file.)
(gimp-file-save RUN-NONINTERACTIVE newimage drawable xcfname xcfname)
(set! filelist (cdr filelist))
)
)
)
Date: Sun, 06 Jun 2010 17:46:15 -0400
From: saulgo...@flashingtwelve.brickfilms.com
Subject: Re: [Gimp-user
Quoting Dillon dillonontheco...@gmail.com:
Sorry for being unclear - when I said this line I was referring to:
(set! num-layers (car (gimp-image-get-layers newimage)))
On Sat, Jul 24, 2010 at 9:50 AM, Dillon dillonontheco...@gmail.com wrote:
Here is the code:
:
:
(set! newimage (car
-save RUN-NONINTERACTIVE newimage drawable xcfname xcfname)
(set! filelist (cdr filelist))
)
)
)
Date: Sun, 06 Jun 2010 17:46:15 -0400
From: saulgo...@flashingtwelve.brickfilms.com
Subject: Re: [Gimp-user] Script-Fu for batch image conversion
To: gimp-user
Hi List,
I thought I might tie off this thread by indicating that I now have a working
script. It appears the definition for script-fu-round-corners in script-fu
console is in error in that the run-mode variable indicated is not
reflected in the definition of the script. I removed the
2010/6/6 Dillon dillonontheco...@gmail.com:
Someone off-list suggested ImageMagick. Some googling shows this command:
convert mulitple.tif single%d.tif
I think this will create multiple files, each representing a page from the
tif.
Since I planned on wrapping all my script-fu in PowerShell,
That's the conclusion I came to as well. I am still figuring out how to do
raw CR2 files, but the script below does handle multi-page TIFFs just fine.
It's a PowerShell (Windows) wrapper around ImageMagick. Not elegant, and
the formatting on blogger kinda sucks (I'll fix that someday), but here
Quoting Dillon dillonontheco...@gmail.com:
I am trying to perform batch conversions of images, including scanned tifs
(multi-page), JPGs, and .CR2 raw files.
My workflow is as follows:
1) scan/acquire raw images to disk
2) batch convert to XCF
3) hand-edit selected XCFs
4) batch convert
Thanks Saulgoode, that worked! It solved both of my problems. Interesting.
I'll have to puzzle through why it worked later, but now I'm on to my next
challenge.
The reason I'm writing my own script-fu, rather than using Daves Batch
Processor, is that my TIF files are multi-page, and when I
2010/6/6 Dillon dillonontheco...@gmail.com:
Thanks Saulgoode, that worked! It solved both of my problems. Interesting.
I'll have to puzzle through why it worked later, but now I'm on to my next
challenge.
The reason I'm writing my own script-fu, rather than using Daves Batch
Processor, is
Someone off-list suggested ImageMagick. Some googling shows this command:
convert mulitple.tif single%d.tif
I think this will create multiple files, each representing a page from the
tif.
Since I planned on wrapping all my script-fu in PowerShell, I could insert a
call to imagemagick to create
Quoting Dillon dillonontheco...@gmail.com:
The reason I'm writing my own script-fu, rather than using Daves Batch
Processor, is that my TIF files are multi-page, and when I load the image
and flatten it to a drawable, I end up with both pages flattened into one
drawable. I only want one of
Thomas DuBuisson (thomas.dubuis...@gmail.com) wrote:
- CODE --
(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE
image.png image.png)))
(layer0 (car (gimp-image-get-active-layer image)))
)
(let* ((layer1 (car (gimp-image-flatten
I don't like how you nest the various let*-statements. That makes the
code hard to track.
It would be better if you have some dummy variable declarations in your
outer let*-statement and then use set! to redefine the values.
Also note that the use of 25 for the mode is not nice, you really
Update:
1) The question regarding exceptions remains - there are too many
corner cases, mostly undocumented, so it would be nice to ignore them
silently.
2) I see my fix was almost right but I forgot to take the head of the list:
(car (gimp-image-get-active-drawable image)) is what I want, not
Update 2:
1) Exceptions
The macro (not sure of the underlying primitives) catch will catch
errors. The web page didn't even call them exceptions, which explains
why I/google didn't find it quickly.
Ex: when converting an image that might already be RGB to RGB:
(catch
On 2009-09-15, jolie S for...@gimpusers.com wrote:
??? Obviously, the same as when I click repeatedly along the path...
Imagine select color with add to selection and small threshold...
E.g., select colors close to any one in the path.
You say you want to select a color close to any one in
Hi,
On Sun, 2009-09-13 at 23:42 +, Ilya Zakharevich wrote:
I am afraid there is no way to do this for tools like 'color select' or
'magic wand'. Tools are a user interface thing and the PDB explicitly
doesn't give access to the user interface parts of GIMP.
This sentence does not
On 2009-09-14, Jolie S for...@gimpusers.com wrote:
What kind of outcome are you expecting to get when stroking a path with a
selection tool?
??? Obviously, the same as when I click repeatedly along the path...
Imagine select color with add to selection and small threshold...
I can't think
On 2009-09-13, Sven Neumann s...@gimp.org wrote:
I want to stroke the path with the current tool, with all the
parameters as selected in the tool options. I do not think I can do
it with the PATHs right-mouse-click menu, can I?
(What I see are only choices of Paint tools. What I want is
Hi,
On Wed, 2009-09-09 at 06:33 +0200, photocomix wrote:
Something as
duplicate layer
Apply Gegl operation/c2g on the dup
Change layer mode of dup in Value
will be possible with script fu ?
Not yet, but it is a nice idea. Someone would have to make up a patch
that allows to call a GEGL
See also the gettext package documentation for increase your knowledge
on the subject.
Thanks a lot :)
I'll see about it.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Quoting Tetsuya Yuasa w...@ironsand.net:
I've writed some script-fu and I want to know how can I rewrite it for
multi-language, exactly said, for two-language.
Of course I can write it by separated files, but it bothered me when I
need to rewrite the script.
Is there any document about it?
A list of the translation teams for various languages is available at
http://l10n.gnome.org/teams/ . If you contact the appropriate team for
your language, they should be able to provide much better guidance.
Thanks for your help!
Your advise helped me so much. :)
On Fri, Feb 27, 2009 at 07:58:32PM +0100, Tetsuya Yuasa wrote:
A list of the translation teams for various languages is available at
http://l10n.gnome.org/teams/ . If you contact the appropriate team for
your language, they should be able to provide much better guidance.
Thanks for your
Le Wed, 18 Feb 2009 12:33:36 -0500
saulgo...@flashingtwelve.brickfilms.com écrivait:
You still can (and will) use 'set!' in your scripts; but you need to
create the variable first. Previously, the variable would be created
automatically if it did not exist.
Allright, thanks for the
Quoting Claus Cyrny claus.cy...@web.de:
I'm currently trying to write a Script-Fu (actually
my first one), but although I found several online
tutorials on how to go about, I'm still not sure of
the proper syntax for most of the steps I would like
the script to perform.
I've included an
Le Wed, 18 Feb 2009 06:51:44 -0500
saulgo...@flashingtwelve.brickfilms.com écrivait:
Quoting Claus Cyrny claus.cy...@web.de:
I'm currently trying to write a Script-Fu (actually
my first one), but although I found several online
tutorials on how to go about, I'm still not sure of
the
The code I attached to my previous post had a mistake on line #24
which should have been:
(set! layer (car (gimp-image-get-active-layer value-image)))
I also should have used 'hue-image' and 'sat-image' when I later
called 'plug-in-compose' (the code I had functioned fine, it just
might be
Hi Saul,
saulgo...@flashingtwelve.brickfilms.com wrote:
The code I attached to my previous post had a mistake on line #24
which should have been:
(set! layer (car (gimp-image-get-active-layer value-image)))
I also should have used 'hue-image' and 'sat-image' when I later
called
I did not properly present the part about pasting the recomposed image
back into the original layer. You will want to set the offsets of the
pasted layer so that they match the original active layer ('drawable')
and to also anchor your pasted layer. The code should be similar to
the
Hello!
On Wed, Feb 18, 2009 at 2:19 PM, Claus Cyrny claus.cy...@web.de wrote:
Hi,
I'm currently trying to write a Script-Fu (actually
my first one), but although I found several online
tutorials on how to go about, I'm still not sure of
the proper syntax for most of the steps I would like
Hi,
On Wed, 2008-10-22 at 01:40 +0200, Ash C. wrote:
I am wanting to write a script that will load a pdf with a specified
resolution and then save it as a jpeg.
When I open the pdf document manually (via the GUI). I am greeted with the
Import from PDF window, which allows me to set the
Quoting Ash C. [EMAIL PROTECTED]:
I am wanting to write a script that will load a pdf with a specified
resolution and then save it as a jpeg.
... When I alter the size of the image using 'gimp-image-resize' it seems
to keep the image at the same size but sets the extra area to transparent.
Hi,
On Sat, 2008-10-18 at 21:46 -0400, Alec Burgess wrote:
This is explained in the release notes for GIMP 2.6:
http://gimp.org/release-notes/gimp-2.6.html
Thanks ... I think :-) found the example and perused the linked PDF
(section 4.2.2. Binding constructs) with out much if any
Alec Burgess wrote:
Thanks ... I think :-) found the example and perused the linked PDF
(section 4.2.2. Binding constructs) with out much if any understanding.
I changed:
(define (save-layer orig-image layer name)
(let* (
(image)
(buffer)
)
to:
(define
Alec Burgess wrote:
Since we've had all these messages about this ... I thought I'd ask:
Shouldn't the so-called fix I made, adding a dummy variable with a
value but leaving the remaining two variables (image) and (buffer)
uninitialized still have been a syntax error? I was surprised that it
Hi,
On Sat, 2008-10-18 at 18:19 -0400, Alec Burgess wrote:
Error while executing script-fu-save-anim-layers:
Error: Bad syntax of binding spec in let* : ((image) (buffer))
I think this is due to changes in script-fu (?) but don't know enough
about script-fu to correct it. Could someone
Script has been updated.
Quoting Alec Burgess [EMAIL PROTECTED]:
Script:
http://flashingtwelve.brickfilms.com/GIMP/Scripts/save-anim-layers.scm
(apparently by Saul Goode 3/11/2008)
This script was mentioned in bugzilla:
Bug 556548 – Layer extraction script
Thank you so much Saul, that works great!!! Date: Wed, 15 Oct 2008 18:15:05
-0400 From: [EMAIL PROTECTED] To: Gimp-user@lists.XCF.Berkeley.EDU Subject:
[Gimp-user] Script-fu plugin Quoting Adonj Adonj [EMAIL PROTECTED]: I
updated my Gimp program from version 2.4.7 to 2.6.0-i686. The
D.Jones (aka) Capnhud wrote:
Error while executing script-fu-quick-sketch2:
Error: eval: unbound variable: script-fu-quick-sketch2
here is a 2 at the end
(define (script-fu-quick-sketch theImage
here is NO 2 at the end
(script-fu-register script-fu-quick-sketch2
here is a 2 at the end
Thanks that did the trick.
--- On Wed, 10/15/08, Andreas Waechter [EMAIL PROTECTED] wrote:
From: Andreas Waechter [EMAIL PROTECTED]
Subject: Re: [Gimp-user] Script Fu error
To: [EMAIL PROTECTED]
Cc: Gimp Group gimp-user@lists.XCF.Berkeley.EDU
Date: Wednesday, October 15, 2008, 3:55 PM
)
_
--
Message: 2
Date: Sun, 28 Sep 2008 11:28:50 +0300
From: peter kostov [EMAIL PROTECTED]
Subject: Re: [Gimp-user] script-fu plugin
To: Adonj Adonj [EMAIL PROTECTED]
Cc: gimp-user@lists.XCF.Berkeley.EDU
Adonj Adonj wrote:
I'm using gimp2.4.7 in windows XP. I copied a script-fu plugin I found to my
C:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins, which should
copy a layer mask to multiple layers or apply a layer mask to multiple
layers.
I get an error each time I make an attempt to use
Quoting Adonj Adonj [EMAIL PROTECTED]:
I'm using gimp2.4.7 in windows XP. I copied a script-fu plugin I
found to my C:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins, which
should
copy a layer mask to multiple layers or apply a layer mask to
multiple layers.
I get an error each
Quoting Adonj Adonj [EMAIL PROTECTED]:
I wondered if you knew of a script that would also APPLY the copied
layers as you mention.
Edit the script to add the following code:
(set! layers (visible-layers image))
(while (pair? layers)
(gimp-layer-remove-mask (car layers)
Hi,
On Thu, 2008-09-25 at 09:14 +0200, Pierre Habraken wrote:
I am a newbie to Gimp.
I need to execute Gimp scripts from files which do not reside in
~/.gimp/scripts, for instance with the following invocation example:
gimp -i -b $PROJECTDIR/my-script.scm -b 'gimp-quit 0)
where $PROJECTDIR
El Saturday 17 May 2008 23:58:17 Kevin Cozens va escriure:
Xavier Mas wrote:
I need to program some batch actions using Scheme or Perl in GIMP but am
not able to see the scripts once they are registered. Scripts are well
writed, are example taken from GIMP manual, and I change permissions
.
Thanks again,
Jonny D
From: [EMAIL PROTECTED]
To: gimp-user@lists.xcf.berkeley.edu
Subject: Re: [Gimp-user] Script-fu (Scheme) and UTF-8 literals
Date: Fri, 16 May 2008 18:31:20 +0200
CC: [EMAIL PROTECTED]
Hi,
I tried using Emacs, but changing the encoding didn't affect anything
Xavier Mas wrote:
I need to program some batch actions using Scheme or Perl in GIMP but am not
able to see the scripts once they are registered. Scripts are well writed,
are example taken from GIMP manual, and I change permissions on the files as
they became executables, but still can't see
. I tried using Emacs, but
changing the encoding didn't affect anything.
Thanks,
Jonny D
From: [EMAIL PROTECTED]
To: gimp-user@lists.xcf.berkeley.edu
Subject: Re: [Gimp-user] Script-fu (Scheme) and UTF-8 literals
Date: Thu, 15 May 2008 10:46:41 +0200
CC: [EMAIL PROTECTED]
Hi,
Do you
Hi,
I tried using Emacs, but changing the encoding didn't affect anything.
Just loading the file, changing the encoding and saving it again won't do
anything. The encoding switches are meant for newly entered text.
That means that you will have to re-enter the characters with the UTF-8
Hi,
just use a proper editor. Emacs is available for free and it supports
UTF-8 and syntax highlighting for the Scheme language.
Sven
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
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
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
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
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
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
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
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
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
[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
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
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
...)
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
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 ;)
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
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
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
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
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
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
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
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
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
Thanks Kevin. Understood.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
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
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
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
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
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
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
1 - 100 of 141 matches
Mail list logo