开发者

How can I generate images of basic figures with Perl?

开发者 https://www.devze.com 2022-12-28 02:41 出处:网络
I am using jalava library as a diagram drawing tool. It displays figures as images in order to maintain compatibility with majority of browsers.

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

精彩评论

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

关注公众号