Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two image bugs found on Twain driver #38

Open
hzh-hzh opened this issue Mar 12, 2020 · 2 comments
Open

Two image bugs found on Twain driver #38

hzh-hzh opened this issue Mar 12, 2020 · 2 comments

Comments

@hzh-hzh
Copy link

hzh-hzh commented Mar 12, 2020

  1. The output image is seriously skewed:
    a. TWAIN-CS application is performing memory transfer to acquire images.
    b. TWAIN driver transfers uncompressed bmp image.
    c. Buffered Memory transfers provide no embedded header information.
    d. The image transfer is complete and success from TWIAN driver.
    e. TWAIN-CS application is recreating this image at application side as TIFF image.
    f. Application is creating a TIFF header and attaching to the file.
    g. This saved TIFF image is skewed.
  2. Only one image can be saved after a multiple scanning.
    a. TWAIN-CS application is resetting transfer of rest of the images.

Can I expect a quick fix?

@mattzirkle
Copy link

My advice would be to not use this repository for actual development. It is not updated very often and is meant to serve as an example. There are other open source libraries available in .NET. you should be able to find them pretty quickly.

@hzh-hzh hzh-hzh changed the title Two image bugs found on HP Twain driver Two image bugs found on Twain driver Mar 12, 2020
@mlmcl62
Copy link
Contributor

mlmcl62 commented Mar 13, 2020

I would have agreed with this as recently as a month ago (and I wrote the silly thing). However, I have recently added the twain certification tool, and that has resulted in a massive improvement to the project. It avoids using the toolkit, which seemed like a good idea at the time, but turned into a mess. The cert tool is interactive and scripted, and comes with a ton of scripts. If you're open to the idea, please give it a shot and let me know how it turns out. I will be responsive to feedback, at least for the next month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants