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 an Script-Fu
Migration Guide:
http://gimp.org/docs/script-fu-update.html

Regards,
Tobias
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


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 mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


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 caused by the fact that Script-fu has become  
more demanding that you follow proper Scheme programming guidelines  
than it used to be.

In previous versions of Script-fu, you were allowed to 'set!' an  
undeclared variable and Script-fu would happily go ahead and define it  
for you. This is no longer acceptable -- you must declare your  
variables (with either 'define' or 'let*') before you use them.

In particular, you have two variables -- 'f1-height' and 'f1-width' --  
which need to be included in your 'let*' block. Once you do this, I  
think you will find your script to be functional.

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


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 script-fu-register, add the line:
SF-COLOR _Background Colour '(255 255 255))
below the last SF-ADJUSTMENT ... and remove the second closing bracket at
the end of that line so it reads: SF-ADJUSTMENT _Shadow Y offset '(0 0 200
1 5 0 1)

-Finally, in apply-3d-outline-logo-effect find the line: (gimp-invert layer
3) and add the following immediately after: (gimp-by-color-select layer3
'(255 255 255) 0 REPLACE FALSE FALSE 0 FALSE) (gimp-palette-set-background
bg-colour) (gimp-edit-fill layer3 BG-IMAGE-FILL) (gimp-selection-none img)

Guillaume 

 -Original Message-
 From: Zeke Lightwave [mailto:[EMAIL 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 the colors where it set's the bg/fg, 
 but that didn't help . . TIA.
 
 -Brent G
 
 ___
 Gimp-user mailing list
 [EMAIL PROTECTED]
 http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
 
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


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 . . TIA.

The right place to change things is in the line that looks like this:

 (gimp-palette-set-background '(255 255 255))

near the beginning of the apply-3d-outline-logo-effect function.  It's
at line 43.

For a quick-n-dirty fix, simply enter the RGB values for the background
color you want;  for a better fix, you might want to add a background
color parameter that defaults to white.

caveat I haven't tested this -- just took a quick look at the code.
/caveat

HTH,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


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 that didn't help . . TIA.


The right place to change things is in the line that looks like this:

 (gimp-palette-set-background '(255 255 255))

near the beginning of the apply-3d-outline-logo-effect function.  It's
at line 43.
For a quick-n-dirty fix, simply enter the RGB values for the background
color you want;  for a better fix, you might want to add a background
color parameter that defaults to white.
caveat I haven't tested this -- just took a quick look at the code.
/caveat
HTH,
Tried that and it's still not working :-/

(gimp-selection-all img)
(gimp-patterns-set-pattern text-pattern)
(gimp-bucket-fill pattern PATTERN-BUCKET-FILL NORMAL 100 0 FALSE 0 0)
(plug-in-bump-map noninteractive img pattern layer2 110.0 45.0 4 0 
0 0 0 TRUE FALSE 0)

(set! pattern-mask (car (gimp-layer-create-mask pattern ALPHA-MASK)))
(gimp-image-add-layer-mask img pattern pattern-mask)
(gimp-selection-all img)
(gimp-edit-copy layer3)
(set! floating_sel (car (gimp-edit-paste pattern-mask 0)))
(gimp-floating-sel-anchor floating_sel)
(gimp-image-remove-layer-mask img pattern APPLY)
(gimp-invert layer3)
I know it has to be somewhere in there where the problem is :-/

___
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 not handling the smaller 
layer properly.

HTH,


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user