How can I generate images of basic figures with Perl?
I am using jalava library as a diagram drawing tool.
It displays figures 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, diamon开发者_如何转开发d with specified parameters (height, width and color).
I want to do all server-side; my server part is written on Perl.
You can use:
- PerlMagick: "PerlMagick is an objected-oriented Perl interface to ImageMagick"
Or
- GD
Imager is my favorite such tool.
精彩评论