Is it difficult to dynamically generate a jpg in PERL?
I don't know about PERL, but with Perl you can use modules.
You can use Imager, Image::Magick, or GD. Or you can use any other
package that creates some sort of bitmap and convert it to JPEG format
with Image::Magick or some such.
See your local CPAN mirror, or start at
http://search.cpan.org/.
For example,
create a pie-chart or other graphs? What about including other
images?
There are already modules available on CPAN. See abovementioned URL.
GD::Graph is one that I know particularly well, but there are several
others.
It'd be better to create PNG files instead of JPEG, though. JPEG's
compression algorithm isn't very good at images with typical charts.
I would like to dynamically create jpg's or gif's for my website
Most free modules at the moment don't do GIF because of the patenting
issues involved. GIF is inferior to PNG for this sort of thing
(anything, really) anyway. JPEG is not a good file format for charts.
and I
heard that it can be done in PERL.
Please, stop saying PERL. It hurts.
Martien