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

Support of auto-detection of the height of a page #8

Closed
sjamesr opened this issue Jan 4, 2014 · 3 comments
Closed

Support of auto-detection of the height of a page #8

sjamesr opened this issue Jan 4, 2014 · 3 comments

Comments

@sjamesr
Copy link
Owner

sjamesr commented Jan 4, 2014

From rr.m...@voila.fr on August 16, 2013 06:07:12

With a Fujitsu scanSnap S1100, it is possible to set the sane option page-height=0 to auto-detect the height of the page. The current version of JFreesane uses the height returned by saned in 'Parameter' structure to create the bytes' array which will receive the image. In the case of height auto-detect, this array needs to grow up each time a record is received. In scanimage.c, it is what is done line 1304 by the 'advance' function.

I modified SaneSession.java in my clone : https://code.google.com/r/rrmath-supportunknownheight/

Original issue: http://code.google.com/p/jfreesane/issues/detail?id=8

@sjamesr
Copy link
Owner Author

sjamesr commented Jan 4, 2014

From s...@google.com on August 21, 2013 10:35:54

This is excellent, thank you! I will merge it in later today.

@sjamesr
Copy link
Owner Author

sjamesr commented Jan 4, 2014

From s...@google.com on August 21, 2013 10:36:16

Status: Accepted

@sjamesr
Copy link
Owner Author

sjamesr commented Jan 4, 2014

From s...@jdns.org on December 21, 2013 14:02:52

Later today ended up meaning later this year, sorry it took so long. This has been merged now, thank you very much! Incidentally I believe this should allow the use of hand-held scanners now (if any of those still exist).

Status: Fixed

@sjamesr sjamesr closed this as completed Jan 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant