什么是最好的 JavaScript 图像处理库?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3351122/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-23 04:16:58  来源:igfitidea点击:

What is the best JavaScript image processing library?

javascriptimage-processing

提问by AntonAL

I need some kick-ass effects for my web site, like gaussian blur, noise, convolution filters, morphological operations etc. All effects must be applied dynamically (no pre-renderend images) and being changed over time.

我的网站需要一些很棒的效果,如高斯模糊、噪声、卷积过滤器、形态学操作等。所有效果都必须动态应用(无预渲染图像)并随时间变化。

What is the most powerful image processing library, implemented in JavaScript ?

用 JavaScript 实现的最强大的图像处理库是什么?

回答by Leonid Mamchenkov

CamanJSis the most flexible non-interactive (API, not point-and-click) JavaScript library for image manipulation, that I came across so far.

CamanJS迄今为止我遇到的最灵活的非交互式(API,而不是点击式)JavaScript 图像处理库。

回答by Andrey

Try to look to the Processing.js library. This is a quotation from theirs site:

尝试查看Processing.js 库。这是他们网站上的引文:

Processing.js is the sister project of the popular Processing visual programming language, designed for the web.

Processing.js 是流行的 Processing 可视化编程语言的姊妹项目,专为 Web 设计。

As far as I know it has more contributors than Pixastic project does and theirs demosare really promising.

据我所知,它的贡献者比 Pixastic 项目多,而且他们的演示非常有前途。

回答by SteD

Take a look at Pixastic

看看Pixastic

Pixastic is an experimental library which allows you to perform a variety of operations on images using just a bit of JavaScript. The effects supported out of the box include desaturation/greyscale, invert, flipping, brightness/contrast adjustment, hue/saturation, emboss, blur, and many more.

Pixastic 是一个实验性库,它允许您仅使用一点 JavaScript 就可以对图像执行各种操作。开箱即用支持的效果包括去饱和度/灰度、反转、翻转、亮度/对比度调整、色调/饱和度、浮雕、模糊等等。

Demo can be found here

演示可以在这里找到

回答by zhijie

have a look at the PSXimageprocessing library, it contains a javascript and ios version. the demo siteshows what it can do. PSX is the most powerful javascript image processing library ever.

看看PSX图像处理库,它包含一个 javascript 和 ios 版本。在演示现场展示它能做什么。PSX 是有史以来最强大的 javascript 图像处理库。