使用resemble.js在Windows应用程序C#中进行图像比较 [英] Image comparision in windows application C# using resemble.js

查看:75
本文介绍了使用resemble.js在Windows应用程序C#中进行图像比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个窗口应用程序,我想在其中比较2个图像并显示它们之间的差异。我使用resemble.js通过Web浏览器控件进行比较,但它没有将文件路径作为javascript中的文件对象。急需解决方案。





提前致谢。

解决方案

< blockquote> Resemble.js在HTML5画布上工作,所以如果你想使用它,你必须将图像添加到你网页上的某个画布元素,但是对于C#的图像比较库,谷歌会很简单 - 那里有几个......


I am creating a window app in which i want to compare 2 images and show the difference between them. I am using resemble.js for comparision via web browser control but it is not taking file path as a file object in javascript. Want the solution in urgent basis.


Thanks in advance.

解决方案

Resemble.js working on HTML5 canvas, so if you want to use it you have to add the image to some canvas element on your web page, however it would be much simple to Google for an image-comparison library for C# - there are a few...


这篇关于使用resemble.js在Windows应用程序C#中进行图像比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆