开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜