tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
85.54k stars 2.58k forks source link

[feat] add some twain scanner support #11289

Open nosovk opened 1 month ago

nosovk commented 1 month ago

Describe the problem

There is no standard API to scan document from scanner. For some apps it's crucial to have something like scan invoice\print invoice.

Describe the solution you'd like

I would like to have some native plugin, that will grant access to scan feature of host system

Alternatives considered

there are some paid solutions, like: https://www.dynamsoft.com/codepool/tauri-document-scanning-desktop-app.html

Additional context

https://twaindirect.org/twain-direct/

Kowalski0805 commented 3 weeks ago

The electron ecosystem also has no solution. https://github.com/electron/electron/issues/14819 they suggest to install some external app. It would be nice to embed that app into tauri app