Professional Web Applications Themes

dynamically generating graphics - PERL Miscellaneous

Is it difficult to dynamically generate a jpg in PERL? For example, create a pie-chart or other graphs? What about including other images? I would like to dynamically create jpg's or gif's for my website and I heard that it can be done in PERL. Thanks! mjl...

  1. #1

    Default dynamically generating graphics

    Is it difficult to dynamically generate a jpg in PERL? For example,
    create a pie-chart or other graphs? What about including other
    images?

    I would like to dynamically create jpg's or gif's for my website and I
    heard that it can be done in PERL.

    Thanks!

    mjl
    MJL Guest

  2. #2

    Default Re: dynamically generating graphics

    On 16 Sep 2003 22:23:40 -0700,
    MJL <mailaffordablemedicalsoftware.com> wrote:
    > 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 [url]http://search.cpan.org/[/url].
    > 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
    --
    |
    Martien Verbruggen | Unix is user friendly. It's just selective
    Trading Post Australia | about its friends.
    |
    Martien Verbruggen Guest

  3. #3

    Default Re: dynamically generating graphics

    "MJL" <mailaffordablemedicalsoftware.com> wrote in message
    news:29c5bb08.0309162123.7c2f234posting.google.co m...
    > Is it difficult to dynamically generate a jpg in PERL? For example,
    > create a pie-chart or other graphs? What about including other
    > images?
    Its easy once you know how. Use the GD module
    [url]http://search.cpan.org/author/LDS/GD-2.07/GD.pm[/url]
    >
    > I would like to dynamically create jpg's or gif's for my website and I
    > heard that it can be done in PERL.
    Gifs are only supported up to Version 1.18 of GD (which is still available
    for download); the latest version of GD uses png as the graphics format.

    Have at look at the stock market charts at my site [url]www.ipo-australia.com[/url] to
    give you some basic ideas.

    gtoomey


    Gregory Toomey Guest

Similar Threads

  1. Generating PDF from XLS
    By PuneetBiala@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 1
    Last Post: December 31st, 06:51 PM
  2. Replies: 0
    Last Post: December 8th, 09:32 AM
  3. Report Generating
    By Infrabyte in forum Dreamweaver AppDev
    Replies: 1
    Last Post: April 6th, 12:22 PM
  4. Generating graphics
    By Mehmet Ekici in forum PERL Beginners
    Replies: 1
    Last Post: September 3rd, 02:05 PM
  5. Dynamically generating multi-table SQL
    By J. Gleixner in forum PERL Miscellaneous
    Replies: 7
    Last Post: July 17th, 04:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139