Re: Creating .gif images with Perl
by waswas-fng (Curate) on Jan 14, 2003 at 03:06 UTC
|
I don't know of any pure perl modules but an example of creating a gif in perl only is here
-Waswas | [reply] |
Re: Creating .gif images with Perl
by theorbtwo (Prior) on Jan 14, 2003 at 03:04 UTC
|
Not that I know of. Note, though, that while GD and ImageMagick aren't pure-perl, they're easy to find pre-compiled versions of.
Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).
| [reply] |
|
|
Unfortunately our web host doesn't let you execute binarys out of writeable directories.
Is there any other way for a Perl program to create an image that's viewable by both Netscape and IE?
| [reply] |
|
|
If your Web host doesn't let you execute binaries from writeable directories, why not remove write permissions from the directory once you have placed the executables there? I don't understand why this would cause any problems. Do you have other problems you haven't mentioned yet?
| [reply] |
|
|
|
|
|
|
|
our web host doesn't let you execute binarys out of writeable directories
What does that have to do with the price of fish?? Don't make the directory writeable then!
Install your own modules. I suggest GD.
Read perldoc -q "my own module" for details.
--
Regards,
Helgi Briem
helgi AT decode DOT is
| [reply] |
|
|
How can I build the perl interface to the pre-compiled versions without a c compiler?
| [reply] |
(Don't use) .gif images
by Aristotle (Chancellor) on Jan 14, 2003 at 10:03 UTC
|
| [reply] |
Re: Creating .gif images with Perl
by steves (Curate) on Jan 14, 2003 at 01:56 UTC
|
ImageMagick can do almost anything you want with images. There may be something more specific for GIFs I haven't used though.
You'd want the base ImageMagick library and the PerlMagick language module.
| [reply] |
Re: Creating .gif images with Perl
by Wysardry (Pilgrim) on Jan 14, 2003 at 01:59 UTC
|
I haven't used it myself, but GD seems to be popular. I suggest you start looking in this section of CPAN, as there are several .gif creation modules available with different features.
| [reply] |
|
|
GD requires libgd/libgd.a and PerlMagick requires ImageMagic which requires a C compiler
I need something that will run purely in Perl code
| [reply] |