2

we are using Apache Batik in a project for displaying SVG graphics in a Swing application. When we use the animation tag of SVG, it results in heavy cpu load.

I know there are methods to limit the fps or cpu utilization, but why is Batik taking so much cpu power?

Since release 1.7, it seems that the project is dead. Are there any forks of this project or will it be continued?

Thanks in advance.

4

1 回答 1

1

动画,尤其是矢量图形,往往会占用大量 CPU。除非他们充分利用您的显卡加速,例如通过使用 OpenGL。

据我所知,到目前为止,Batik 自己完成了所有的渲染,并且不能大量卸载到你的 GPU 上,所以它会使用大量的 CPU。(这意味着它可以在没有 GPU 的服务器上正常工作,允许脚本转码,并提供有保证的结果。)

是的,不幸的是,这些天这个项目似乎缺乏积极的贡献者。就像许多其他 Apache 公共项目一样。但至少它处于非常可用的状态。但是你为什么不加入这个项目并提供帮助呢?他们有很多开放的错误报告,他们可以使用。

于 2012-02-21T08:23:13.290 回答