I use GD and its submodules for creating images with perl. Mostly it is scientific data analysis which requires lot of comparisons. The images are created with bitdepth 8 which I think is the reason for low quality(I am not sure though). Merely resizing the image from 500x500 to say 2000x2000 pixels does help somewhat, but I m not pleased with the way since it still shows bit depth as 8 in properties. Is there a way to tell GD to create better (publication quality, 300 dpi) images?
It is a pain to analyse data and prepare figures with GD and then resort to redoing the work for publication. Imager module says it can create better resolution images, but can it be used with GD as the charting modules are basically easier to use in GD and I havent tried Imager. An alternative would be to resort to SVG charting modules but I really dont want to change unless absolutely necessary, because I have already written large pipelines with GD. Wisdom of PerlMonks will be very helpful and I m counting on it.