http://qs321.pair.com?node_id=441996

blazar has asked for the wisdom of the Perl Monks concerning the following question:

I would like some piece of advice about which graphics module (out of the so many ones available from CPAN) to use for a certain task.

The task is to generate a bitmap image taking into account the following "requirements":

As for the first point, since this is a job to be done just once or at most a few times, I would consider it acceptable to have output to some other format and do any required conversions with external tools.

As for the second point, I wanted to point this out because often people who ask this kind of questions have to generate images on the fly to serve from a webserver aut similia, which is not my case.

To explain myself with an example (close enough to my real needs), suppose I have a loop that at every iteration gives me an array of integers. Then I want to output a line of graphics with a black pixel, for every such integer, precisely at an offset of that many pixel from the left border (and all others white).