如何使用TWAIN通过C#应用程序从数码相机拍摄照片 [英] How to take picture from Digital camera via C# application using TWAIN

查看:302
本文介绍了如何使用TWAIN通过C#应用程序从数码相机拍摄照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须使用TWAIN为数码相机开发C#接口.我的要求是,当数码相机连接到USB端口时,我将能够通过我的应用程序拍照(即,如果数码相机处于USB模式,并且我当时想拍照,那么我的应用程序应该只显示最新的快照.由我采取.)

I have to develop an interface in C# for Digital camera using TWAIN. My requirement is that when Digital camera is attached to USB port then i would be able to take picture via my application(i.e. if Digital camera is in USB mode and i want to take picture at that time then my application should show only the latest snap taken by me.)

推荐答案

如果您通过Google搜索,有几篇文章和有关此主题的讨论.也许这篇文章会很有趣: WIA脚本和.NET [
There are several articles and discussion on this topic if you google for them. Perhaps this article would be interesting: WIA Scripting and .NET[^].


Mika已经为您提供了出色的服务有关.NET中 WIA脚本编制的链接(这是Windows的 TWAIN 替代品).
以下是有关 TWAIN 的一些有用的 CodeProject 文章:
-
.NET TWAIN图像扫描仪 [用于WPF应用程序的Twain-看起来不错,没有任何处理 [
Mika already gave you an excellent link about WIA Scripting in .NET (which is a TWAIN alternative for Windows).
Here are some useful CodeProject articles on TWAIN:
- .NET TWAIN image scanner[^]
- Twain for WPF Applications - Look Ma, No Handles[^]


这篇关于如何使用TWAIN通过C#应用程序从数码相机拍摄照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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