Re: [Gimp-user] Error on script-fu

2009-07-04 Thread Didier Bretin
saulgo...@flashingtwelve.brickfilms.com wrote:
 You should report back on whether a suggestion works, else people  
 might assume all is copacetic.

Yes you are right, sorry ;).

 Looking deeper at your script, the problem is with the call which adds  
 the bevel:
 
 (script-fu-add-bevel 0 image newCalque 30 FALSE FALSE)
 
 When a Script-fu calls another Script-fu, you need to omit the  
 RUN-MODE (when calling a plug-in though, the RUN-MODE is needed). Your  
 call should be emended to:
 
 (script-fu-add-bevel image newCalque 30 FALSE FALSE)

Great it works !

I will look deeper in the documentation to see if it's write somewhere.

Thanks again for the answer.
-- 
Didier Bretin
http://bretin.net/
http://twitter.com/didier69
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] [script] resize image in pourcent

2009-07-04 Thread Didier Bretin
Hi,

I'm improving my script, and I would like to use the function 
gimp-image-scale and specify widht and height in pourcent, not in pixel.

Do you know how I can specify pourcent ?

Regards.
-- 
Didier Bretin
http://bretin.net/
http://twitter.com/didier69
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] [script] resize image in pourcent

2009-07-04 Thread saulgoode
Quoting Didier Bretin did...@bretin.net:

 I'm improving my script, and I would like to use the function
 gimp-image-scale and specify widht and height in pourcent, not in pixel.

 Do you know how I can specify pourcent ?

You need to calculate the pixel values manually.

(gimp-image-scale image
   (* (car (gimp-image-width image)) x-pct 0.01)
   (* (car (gimp-image-height image)) y-pct 0.01)
   )



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


[Gimp-user] How to do this using GIMP

2009-07-04 Thread Ashutosh S.
I am new to GIMP can anybody tell me how to this in GIMP check the pic at
http://4.bp.blogspot.com/_7ZYqYi4xigk/SkuOtxD_GVI/D-s/m4JhUHCC_Bw/s1600-h/left_nav_compare.png


-- 
Ashutosh S. (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to do this using GIMP

2009-07-04 Thread John Meyer
Ashutosh S. wrote:
 I am new to GIMP can anybody tell me how to this in GIMP check the pic at
 http://4.bp.blogspot.com/_7ZYqYi4xigk/SkuOtxD_GVI/D-s/m4JhUHCC_Bw/s1600-h/left_nav_compare.png


Looks like they did two screen shots, (print screen), focused in on the
items, cut them and pasted them to a new picture.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to do this using GIMP

2009-07-04 Thread Jozef Legény
On Saturday 04 July 2009 23:06:55 Ashutosh S. wrote:
 Ashutosh S. wrote:
  I am new to GIMP can anybody tell me how to this in GIMP check the pic
  at

 http://4.bp.blogspot.com/_7ZYqYi4xigk/SkuOtxD_GVI/D-s/m4JhUHCC_Bw/s
1600-h/left_nav_compare.png

 Looks like they did two screen shots, (print screen), focused in on the
 items, cut them and pasted them to a new picture.

 But how they produced the shadow that too in 3d box effect, actually I
 searched a lot on the net to check what this process can be called but no
 clue, can anybody suggest

You could use the path tool to create the boxes' edges. Then convert that path 
to selection and apply a gradient to that selection (all of this on a separate 
layer), the gradient would be from black to transparent.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to do this using GIMP

2009-07-04 Thread saulgoode
Quoting Ashutosh S. for...@gimpusers.com:

 But how they produced the shadow that too in 3d box effect, actually I
 searched a lot on the net to check what this process can be called but no
 clue, can anybody suggest

I would probably call it an exploded view.

First, you need to select and copy the area you want to explode.
Second, paste that to new layer.
Third, use the Scale and Move tools to increase the size of and  
reposition the exploded layer.
Fourth, use the Paths tool to draw a path around the outside corners  
of both the original region and the exploded layer (see the path I  
created in the XCF file below).
Fifth, create a new transparent layer and place it between the two  
existing layers.
Sixth, perform a Select-From path
Seventh, use the Blend tool to draw a FG to transparent gradient on  
the transparent layer.
Eighth, optionally reduce the Opacity of the gradient layer.

If you load the following file into GIMP, you will see an example  
which contains all of the elements described above (original  
selection, path, and layers).

http://flashingtwelve.brickfilms.com/Temp/ExplodedView.xcf.gz


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