[英]Under linux, how to run application via .html
I am working on a image processing project. 我正在从事图像处理项目。 I am not familiar with html.
我不熟悉html。 Here is what I think.
这就是我的想法。
My C++ application is able to read an image and write the image to file after processing. 我的C ++应用程序能够在处理后读取图像并将图像写入文件。 The procedural is that user can click mouse in a fixed region of my web, and the position data could be passed as parameter to my application, and then my C++ application will use the position data to process the image and output image to file, finally my web display the image.
程序是用户可以在我的网站的固定区域中单击鼠标,并将位置数据作为参数传递给我的应用程序,然后我的C ++应用程序将使用位置数据来处理图像并将图像输出到文件,最后我的网络显示图像。
So is that possible to implement this? 那么有可能实现这一目标吗?
I'm afraid it's not possible only with HTML. 恐怕仅HTML不可能。 It should be possible with any server-side scripts written in PHP (for example).
例如,用PHP编写的任何服务器端脚本都应该可行。 Anyway, you can make you program to watch folder uploaded and processed images save into another folder.
无论如何,您可以让您编程以观看文件夹上载并将处理过的图像保存到另一个文件夹中。 You will need PHP or something like this though.
您将需要PHP或类似的东西。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.