I am using jalava library as a diagram drawing tool.
It displays firgures as images in order to maintain compatibility with majority of browsers.
When diagram block is being resized a request is being made and new gif image is generated and send to browser.
What I need is generating image of basic blocks, like rounded rectangle, circle, diamond with specified parameters (height, width and color).
I want to do all server-side; my server part is written on Perl.