-
Notifications
You must be signed in to change notification settings - Fork 148
Lexmark Pro205 - WIA: Failed to get scanner properties #682
Comments
Does this help? |
Actually it does. Because it proves your scanner is supported by WIA and therefore there is a bug in Pyinsane (or a lack of workaround, depending on your scanner drivers ;-). |
The test program is ready: https://openpaper.work/en/scanner_db/#contribute . Can you give it a try please ? |
Does it really require lowlevel |
Because I didn't see any point in adding another dependency. |
Hm, ok, this is a tricky one. Obviously, you can access WIA properties using the WIA automation layer. Which I'm not using ... because it has a nasty limitation: I haven't found a way to get the image on-the-fly during the scan with it. |
I think this is going to wait. I'm going to rewrite Pyinsane anyway (in pure C this time --> libinsane). One the goal will be to handle multiple APIs (WIA, TWAIN, etc). This way, I will be able to use the low-level API to get the stream, and if it does not work, fall-back on the WIA automation layer (which will mean not getting the scan on-the-fly, but as I said, this is already a limitation of a bunch of drivers anyway). Anyway, I must thank you. I'm glad you provided me with this information before I start designing the new library, because this will clearly impact its design. |
Thank you for the detailed explanation. I was almost expecting something like this. I am happy to help with further tests. |
The text was updated successfully, but these errors were encountered: