drawing shapes in gimp?

Chris F.A. Johnson cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org
Tue Jun 23 19:31:49 UTC 2009


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

-- 
   Chris F.A. Johnson, webmaster         <http://woodbine-gerrard.com>
   ===================================================================
   Author:
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
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