On Tue, 7 Aug 2001, Rob wrote:

> I want to be able to create graphic logos witha perl script - any ideas on
> how to do this?
>
> What I mean is I will provide a list of titles and a list of font styles
> then the script will create a gif for each title using a random font style..
>
> Can it be done? Is it difficult? I've never tried any kind of graphical
> stuff with perl before so its all a mystery..

Look into the GD module from CPAN -- it can create graphics on the fly
like this.

>From the README:

[GD] is a autoloadable interface module for libgd, a popular library
for creating and manipulating PNG files.  With this library you can
create PNG images on the fly or modify existing files.  Features
include:

a.  lines, polygons, rectangles and arcs, both filled and unfilled
b.  flood fills
c.  the use of arbitrary images as brushes and as tiled fill patterns
d.  line styling (dashed lines and the like)
e.  horizontal and vertical text rendering
f.  support for transparency and interlacing

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
filibuster, n.:
        Throwing your wait around.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to