Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TWAIN example, C++

From C++ I want to set the following scanner parameters using TWAIN library: resolution, window position and histogram settings (shadow, highlight, gamma, max/min intensity). Is there any good example on the web which I could use as a starting point?

BTW, is there any reason to use commercial libraries based on TWAIN and not directly TWAIN - any advantage?

like image 920
Ekaterina Mishina Avatar asked Jun 11 '26 13:06

Ekaterina Mishina


1 Answers

you can download twain specification from twain.org and start from there. this article might help too.

for your BTW question, it's a trade-off. :) it takes time, varying from days to weeks, to learn the TWAIN specification, and it takes money to buy a commercial library. also, commercial libraries usually come with some features beyond TWAIN as well as tech support. so, it kind of depends on budget and project schedule.

like image 103
flysakura Avatar answered Jun 14 '26 03:06

flysakura



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!