![]() |
LibInsane
1.0.10
Cross-platform Cross-API Cross-driver Cross-image-scanner Image Scan Library
|
LibInsane has one C API. It is designed so it can wrap the Sane API, the WIA API, or the TWAIN API without losing too many features.
This API is implemented by a variety of components:
The function lis_safebet() stacks all the recommended implementations. It is your recommended entry point to LibInsane. Since all the components implement the same API, you can simply use the one provided by lis_safebet() without ever worrying about which components are actually used.
Expected order of calling when most of the normalizers are enabled:
See capi.h.
See quickstart.
If you don't want to use lis_safebet, you can stack the API implementations yourself.
Please note that you should use lis_safebet in most applications. There shouldn't be any reason not to use it. Don't hesitate to report a bug if lis_safebet doesn't work for you.
Once you have wrapped an implementation with another, you don't have to worry about the first implementation. The wrapping one will take care of the wrapped one.
Quick and lazy example: