in reply to Dynamic Graphics

I believe Image::Magick fulfils your requirements and possibly the new module on the block Imager but I'm not certain.
HTH

_________
broquaint