On Sat, 20 Dec 2003 14:23:15 -0600, [EMAIL PROTECTED] (Andrew Gaffney) wrote:
I want to write a Perl program that will auto generate GIF images. The images that I want to generate will be about 30x80. It will be a black rectangle starting in the bottom-right with a few pixels border on the top and left. There will be a light blue rectangle starting in the top-left with a few pixels border on the bottom and right. There will then be 6- or 8-point black bold centered text that will be specified when the program is run. The background also need to be transparent. Can anyone give me any pointers on writing a Perl program that can do what I need? Links to examples are good too. Thanks.
Well, gifs were shunned by alot of the software writers because of the old patent issues. So your best bet will be to make your image as a jpg or png, then convert it to gif afterwards.
Is PNG a good format for a 51x20 image with 4 or 5 colors?
If you want to make an animated gif, you can use something like this: system("gifsicle -lforever $graphical*.gif > $graphical.anim.gif")
I've used gifsicle before to make animated GIFs. That was a nifty little program.
-- Andrew Gaffney
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>