Thank you Burak and Joost, I tried to test these modules comparing (to my eyes only) the quality of the lines produced for the same png generation. IM seemed to perform a little better but not too much. When I draw on files 400x300px there are always some nasty little steps (sorry for my terrible english ;) ), especially with arcs or diagonal lines.
I tried to draw a bigger image and to reduce it with IM and the result was far better. However in this manner there's much more elaboration for my poor pc.
How is it possible that IM draws better when it manipulates than when it does the direct activity? Draw bigger and resize is the only solution to improve quality or there are smarter unfathomable ways?
I'd like to create some chart creation module, no matter with GD or IM, It would be good if it was possible to achieve this line quality http://www.advsofteng.com/gallery_polar.html with images ranging usually from 400 to 600px
In the past I read a thred discussing what is the quality in a chart. A chart shouldn't be too beautiful... That's not an answer.
To sum up: How can I draw lines, arcs, etc without those little steps I mentioned before? I read somewhere that there are modules using the cairo library. Are there any other library? Which library are used by GD and IM? Do you know how to interact with them with perl and which should be the state of the art on linux?
Is this a good way to proceed? Thanks in advance for every kind suggestion my dear monks

In reply to Re^3: GD VS ImageMagick Again... by emotiv
in thread GD VS ImageMagick Again... by emotiv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.