dynamically generating graphics

Ask a Question related to PERL Miscellaneous, Design and Development.

  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. Similar Questions and Discussions

    1. Generating PDF from XLS
      Hi, I am trying to generate PDF document from an XLS using Distiller API. In Excel, I have set the page size as A4. However, the generated PDF is...
    2. Managing ViewState of a dynamically created Custom Composite Server Control -(where the original is also dynamically created)
      Ok here's my scenario. I have a Custom Composite Server Control (CCSC) consisting of a TextBox, Button & Panel. (And some other code - which I...
    3. generating GIFs
      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...
    4. Generating graphics
      Hi all, I have some datas in a file and I need to generate graphics from the datas and show on html page. Is there any idia ? Regards, Mehmet
    5. Dynamically generating multi-table SQL
      Jesse Sheidlower wrote: Check out Tangram or Alzabo for possible solutions.
  3. #2

    Default Re: dynamically generating graphics

    On 16 Sep 2003 22:23:40 -0700,
    MJL <mail@affordablemedicalsoftware.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

  4. #3

    Default Re: dynamically generating graphics

    "MJL" <mail@affordablemedicalsoftware.com> wrote in message
    news:29c5bb08.0309162123.7c2f234@posting.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

Posting Permissions

  • You may not post new threads
  • You may 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