简体   繁体   English

不依赖Canvas的Javascript图像处理库

[英]Javascript image manipulation library that does not depend on Canvas

Is there any image manipulation library in Javascript that does not depend on canvas so it can be used in a webworker? Javascript中是否有不依赖画布的图像处理库,因此可以在Webworker中使用?

I'm looking for operations over raster images such as scaling, rotating and cropping. 我正在寻找光栅图像的操作,例如缩放,旋转和裁剪。

If i'm not wrong Raphaël.js uses canvas too. 如果我没记错的话,Raphaël.js也使用画布。

Sorry but there is no such library working independent of browser's canvas. 抱歉,没有独立于浏览器画布的此类库 Javascript itself can not manipulate images. JavaScript本身无法操纵图像。

If you need to manipulate images in the client you will have to use js+canvas or flash(it has his own draw api). 如果您需要在客户端中处理图片,则必须使用js + canvas或Flash(它具有自己的绘制API)。 If not possible ... move your manipulation logic to the server. 如果不可能,请将您的操作逻辑移至服务器。

Try Raphaël http://raphaeljs.com/ 试试拉斐尔http://raphaeljs.com/

It works with both SVG and VML so it supports a broad range of browsers. 它可与SVG和VML一起使用,因此支持广泛的浏览器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM