2013-01-02 46 views

回答

4

如果您在客户端,可以在画布上绘制图像,回读画布像素,并在其上运行滤镜。有些例子参见Image Filters with Canvas

+1

此示例已被移植到Dart。参见[dart-html5-samples](https://github.com/dart-lang/dart-html5-samples/tree/master/web/canvas/imagefilters)和一个实时版本[here](http:// www .scribegriff.com/dartlang/HTML5样本/ imagefilters /) – scribeGriff