Re: [Gimp-user] Rounding those corners

2007-07-28 Thread DJ
Hi,

Thank you.
D> How are you creating a single rounded corner, like those used for
D> css boxes with rounded corners.

This page has a better example of what I was trying to create,
http://www.456bereastreet.com/lab/teaser/

Specifically the image
http://www.456bereastreet.com/lab/teaser/tsr-t.gif.


At the GIMP registry I found http://registry.gimp.org/plugin?id=7905
which creates 4 corners for use in another method for creating round
cornered boxes in css.

I tried the rounded corner at http://gug.sunsite.dk/tutorials/rounded-corners/
but just couldn't get it to produce something like tsr-t.gif.

Anyone know what happened to gimptalk.com?  It had a lot of
educational resources.

Thank you.
DJ

-- 
__ 


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


Re: [Gimp-user] Rounding those corners

2007-07-28 Thread John R. Culleton
On Saturday 28 July 2007, [EMAIL PROTECTED] 
wrote:
> > Hi gimp-user,
> >
> > How are you creating a single rounded corner, like those used for
> > css boxes with rounded corners.
> >
> > (i.e., http://www.csszengarden.com/063/corner_yelongreen_tr.gif)
> >
> > Or, if you wanted to outline an image's left, bottom, and right,
> > sides and round the lower corners (radius 8), so it would look
> > like a "U" without the tail and a flatter bottom (again for use
> > in CSS background for a round cornered semi-flexible box).
>
> There is a nice tutorial on GUG (GIMP Users Group) which suggests a
> method (http://gug.sunsite.dk/?page=tutorials). If you wish to have
> only certain corners rounded, I would propose rounding the corners
> on a duplicate layer then erasing the unwanted regions (or use
> layermasking) to reveal the original.
> ___

Typesetting programs like Context have this as a normal feature. If 
you are indeed importing text into Gimp and putting it in a box it 
might make sense to typeset it externally and import the eps. 

-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com

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


Re: [Gimp-user] Writing values to a file from within GIMP

2007-07-28 Thread saulgoode
> Hi,
>
> I'm writing a script-fu GIMP plugin and I need to be able to write some
> decimal values to a file during the execution of the script.  I've seen
> some
> people suggesting that use of fprintf, etc., but can't figure out how to
> get
> this to work.  Can someone please provide some guidance?

If you are using GIMP 2.3.14 or later, the following code should
demonstrate how to write to a file:

(define outport (open-output-file "samplefile.txt"))
(display  "Hello" outport)
(newline outport)
(display "World" outport)
(close-output-port outport)

If you are using a stable version (2.2.x) of the GIMP, then you will need
to use SIOD's 'fopen', 'fwrite', and 'fclose' functions.

(define outfile (fopen "samplefile.txt" "w"))
(fwrite "Hello" outfile)
(fwrite "\n" outfile)
(fwrite "World" outfile)
(fclose outfile)

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


Re: [Gimp-user] Rounding those corners

2007-07-28 Thread saulgoode
> Hi gimp-user,
>
> How are you creating a single rounded corner, like those used for
> css boxes with rounded corners.
>
> (i.e., http://www.csszengarden.com/063/corner_yelongreen_tr.gif)
>
> Or, if you wanted to outline an image's left, bottom, and right, sides
> and round the lower corners (radius 8), so it would look like a "U"
> without the tail and a flatter bottom (again for use in CSS
> background for a round cornered semi-flexible box).

There is a nice tutorial on GUG (GIMP Users Group) which suggests a method
(http://gug.sunsite.dk/?page=tutorials). If you wish to have only certain
corners rounded, I would propose rounding the corners on a duplicate layer
then erasing the unwanted regions (or use layermasking) to reveal the
original.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user