RE: generating GIFs

2003-12-29 Thread Tom Kinzer
sounds like a new sourceforge project is hatched...? -Original Message- From: Armin [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 2:45 PM To: [EMAIL PROTECTED] Subject: Re: generating GIFs Robert Brown wrote: > Andrew Gaffney writes: > > zentara wrote: > &g

Re: generating GIFs

2003-12-29 Thread Armin
Robert Brown wrote: Andrew Gaffney writes: > zentara wrote: > > 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 51x

Re: generating GIFs

2003-12-25 Thread Andrew Gaffney
zentara wrote: On Tue, 23 Dec 2003 09:22:01 -0500, zentara <[EMAIL PROTECTED]> wrote: I havn't tried it personnally yet, but I think you should be able to avoid writing that temporary png file. If you are using perl5.8 you could write to a variable, and then just have Image::Magick read from that

Re: generating GIFs

2003-12-23 Thread Andrew Gaffney
zentara wrote: On Tue, 23 Dec 2003 07:44:59 -0500, [EMAIL PROTECTED] (Zentara) wrote: On Mon, 22 Dec 2003 09:42:31 -0600, [EMAIL PROTECTED] (Andrew Gaffney) wrote: Christian Bolstad wrote: # Write image to temporary PNG file open IMAGE, "> /tmp/genbutton.png"; binmode IMAGE; print IMAGE $im->png;

Re: generating GIFs

2003-12-22 Thread R. Joseph Newton
Dan Muey wrote: > Just curiouse as to why you'd want to replace a png with a gif? > Why no just keep the png and ditch the gif, whats their faces want > to charge you for using gif format anyway. Wants to mebbe, but they's SOL in the good ol' Yew Ess of Aye. There patent dun expirated back in Jo

Re: generating GIFs

2003-12-22 Thread Andrew Gaffney
Dan Muey wrote: Christian Bolstad wrote: On Sun, 21 Dec 2003, Andrew Gaffney wrote: I think I've fixed this, too. It looks like it was some weird caching issue with Apache and mod_perl. I renamed the script and it works correctly every time now. Thank you for the suggestion to use stringTTF

RE: generating GIFs

2003-12-22 Thread Dan Muey
> Christian Bolstad wrote: > > On Sun, 21 Dec 2003, Andrew Gaffney wrote: > > > >>I think I've fixed this, too. It looks like it was some > weird caching > >>issue with Apache and mod_perl. I renamed the script and it works > >>correctly every time now. Thank you for the suggestion to use > >>

Re: generating GIFs

2003-12-22 Thread Andrew Gaffney
Christian Bolstad wrote: On Sun, 21 Dec 2003, Andrew Gaffney wrote: I think I've fixed this, too. It looks like it was some weird caching issue with Apache and mod_perl. I renamed the script and it works correctly every time now. Thank you for the suggestion to use stringTTF() or stringFT() to gen

Re: generating GIFs

2003-12-21 Thread Andrew Gaffney
Andrew Gaffney wrote: Charles K. Clarkson wrote: Andrew Gaffney <[EMAIL PROTECTED]> wrote: : Can anyone recommend a way to make the generated text : (testbutton.png) look like the text in the hand-made : one (contactusbutton.gif)? Also, since this will be a : script to auto-generate these images

Re: generating GIFs

2003-12-21 Thread Andrew Gaffney
Andrew Gaffney wrote: Charles K. Clarkson wrote: Andrew Gaffney <[EMAIL PROTECTED]> wrote: : Can anyone recommend a way to make the generated text : (testbutton.png) look like the text in the hand-made : one (contactusbutton.gif)? Also, since this will be a : script to auto-generate these images

Re: generating GIFs

2003-12-21 Thread Andrew Gaffney
Charles K. Clarkson wrote: Andrew Gaffney <[EMAIL PROTECTED]> wrote: : Can anyone recommend a way to make the generated text : (testbutton.png) look like the text in the hand-made : one (contactusbutton.gif)? Also, since this will be a : script to auto-generate these images with user-defined : tex

Re: generating GIFs

2003-12-21 Thread Andrew Gaffney
Robert Brown wrote: Andrew Gaffney writes: > The resulting image is . I was modeling the > image after one I had previously done using Paint Shop Pro at > . They look pretty darn similar except for > t

RE: generating GIFs

2003-12-21 Thread Charles K. Clarkson
Andrew Gaffney <[EMAIL PROTECTED]> wrote: : Can anyone recommend a way to make the generated text : (testbutton.png) look like the text in the hand-made : one (contactusbutton.gif)? Also, since this will be a : script to auto-generate these images with user-defined : text, how can I center the tex

Re: generating GIFs

2003-12-21 Thread Robert Brown
Andrew Gaffney writes: > The resulting image is . I was modeling > the > image after one I had previously done using Paint Shop Pro at > . They look pretty darn similar > except for > the text. Can

Re: generating GIFs

2003-12-21 Thread Andrew Gaffney
Charles K. Clarkson wrote: Andrew Gaffney <[EMAIL PROTECTED]> wrote: : : I wrote my own script based off your example and the docs : at . When I : run the below program, I get: : : : skyline skyline-src # ./genbutton.pl : gd-png: fatal libpng error: In

RE: generating GIFs

2003-12-21 Thread Charles K. Clarkson
Andrew Gaffney <[EMAIL PROTECTED]> wrote: : : I wrote my own script based off your example and the docs : at . When I : run the below program, I get: : : : skyline skyline-src # ./genbutton.pl : gd-png: fatal libpng error: Invalid number of colors in p

Re: generating GIFs

2003-12-21 Thread R. Joseph Newton
Andrew Gaffney wrote: > zentara wrote: > > 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

Re: generating GIFs

2003-12-21 Thread Robert Brown
Daniel Staal writes: > --As off Sunday, December 21, 2003 11:59 AM -0600, Robert Brown is > alleged to have said: > > > Is there any alternative to gifs to make animated images? Flash is > > proprietary to macromedia, and gif to Unisys. Is there such a thing > > as an animated png? How a

Re: generating GIFs

2003-12-21 Thread Daniel Staal
--As off Sunday, December 21, 2003 11:59 AM -0600, Robert Brown is alleged to have said: Is there any alternative to gifs to make animated images? Flash is proprietary to macromedia, and gif to Unisys. Is there such a thing as an animated png? How about a free (in the GPL sense) open sourced a

Re: generating GIFs

2003-12-21 Thread Andrew Gaffney
Andrew Gaffney wrote: I wrote my own script based off your example and the docs at . When I run the below program, I get: skyline skyline-src # ./genbutton.pl gd-png: fatal libpng error: Invalid number of colors in palette gd-png error: setjmp returns

Re: generating GIFs

2003-12-21 Thread Andrew Gaffney
zentara wrote: 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 bord

Re: generating GIFs

2003-12-21 Thread Robert Brown
Andrew Gaffney writes: > zentara wrote: > > 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

Re: generating GIFs

2003-12-21 Thread Andrew Gaffney
zentara wrote: 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 bord

Re: generating GIFs

2003-12-21 Thread R. Joseph Newton
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

Re: generating GIFs

2003-12-20 Thread agftech lists
You might want to look at Image::Magick at www.imagemagick.com HTH On Sat, 2003-12-20 at 14:23, 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 > b

Re: generating GIFs

2003-12-20 Thread Daniel Staal
--As off Saturday, December 20, 2003 2:23 PM -0600, Andrew Gaffney is alleged to have said: 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

generating GIFs

2003-12-20 Thread Andrew Gaffney
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