drawing shapes in gimp?

Matt Price matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Wed Jun 24 04:47:37 UTC 2009


On Tue, 2009-06-23 at 15:31 -0400, Chris F.A. Johnson wrote:
> On Tue, 23 Jun 2009, Matt Price wrote:
> 
> > hey there,
> > 
> > I need to draw a simple picture, a five-pointed star on a monocolor
> > background.  What would be the best way for me to this in gimp or some
> > other program?
> 
> $ cat star.ps
> %!PS-Adobe-2.0 EPSF-2.0
> %%BoundingBox: 0 0 70 70
> .7 .2 .2 setrgbcolor
> 20 0 moveto
> 5 { 50 50 rlineto 144 rotate } repeat fill
> $ convert -trim star.ps star.png

ah.  very nice.  so now you're telling me that to draw, i need to learn
postscript?  that was NOT what i wanted to hear...  still very cool.
having trouble understnading what's going on, though.  suppose i want
the picture 5 times as big?  i guess i can scale it in gimp -- though
now i try it out, that doesn't seem trivial to do.  and if i want to
generate the initial picture with one point going straight up?  these
pics are just slightly off to the side, i guess about 10 degrees.
again, i can rotate in gimp...  but it'd be nice if the script just did
it perfectly, wouldn't it.  any chance you could explain what you're
doing here a bit more fully?

anyway, thanks very much, this is very interesting.

matt



> 
-- 
Matt Price
matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list