109 Commits

Author SHA1 Message Date
Raman Gupta
019e95cb64 Additional note about sem and fast scanners 2023-10-05 23:29:13 -04:00
Raman Gupta
dc2a67b134 Allow specifying page sources 2023-10-05 23:14:21 -04:00
Raman Gupta
64d8293026 Allow turning off page centering
Fixes #52 and #55.
2023-10-05 22:56:09 -04:00
Raman Gupta
1d39bc2a84 Allow negating flag options 2023-04-20 13:24:29 -04:00
Raman Gupta
d117d6e3fa Document the option group feature v1.4 2023-04-19 12:58:29 -04:00
Raman Gupta
fe85eff576 Support named option groups 2023-04-19 12:47:04 -04:00
Raman Gupta
eea2c495d9 warn on deskew but no crop
Best practices from the sane mailing list indicate that deskew should
be used in combination with crop for best results. Warn if not doing
so.
2023-04-19 12:46:49 -04:00
Raman Gupta
31ef706c47 unpaper: add deskew-scan-range for better deskew 2023-04-19 12:45:06 -04:00
Raman Gupta
966328a9e3 Correct temp file deletion during post-processing 2022-10-11 08:59:00 -04:00
Raman Gupta
a5d56a0e81 README updates 2022-02-23 22:19:28 -05:00
Raman Gupta
f66aae8aaa Add ability to open scan at completion 2022-02-23 22:16:39 -05:00
Raman Gupta
5116541cf0 Explicit --mode overrides --mode-hw-default 2022-02-23 21:53:55 -05:00
Raman Gupta
ad5934a5a6 Add known blog posts to README v1.3 2022-01-18 01:25:47 -05:00
Raman Gupta
95163d2819 README: add note about scanbd use 2022-01-18 01:13:20 -05:00
Raman Gupta
7931fe4e86 README: update with current help output 2022-01-18 01:13:10 -05:00
Raman Gupta
144067840c Help now shows current content of config files 2022-01-18 01:12:25 -05:00
Raman Gupta
5d71ca2ff2 Fix indentation in README help 2022-01-18 01:12:10 -05:00
Raman Gupta
1077ab5e07 README: let github track contributors 2022-01-18 01:05:57 -05:00
Raman Gupta
a29e17962a Remove debugging echo 2022-01-15 23:13:54 -05:00
Raman Gupta
c892202597 Allow empty device arg 2022-01-15 23:10:04 -05:00
Raman Gupta
e40b766d2a
Merge pull request #38 from surmann/master
Adjust brightness and optimise white page recognition
2022-01-07 09:30:43 -05:00
Dirk Surmann
13c40dcfce update brightness and contrast control 2022-01-01 13:23:44 +01:00
Dirk Surmann
476e730135 update white threshold 2021-12-09 18:03:06 +01:00
Dirk Surmann
bed68a0e7b add white threshold to skip pages 2021-12-09 16:49:50 +01:00
Dirk Surmann
1d82088527 add brightness switch 2021-12-09 16:49:40 +01:00
Raman Gupta
5bb8cd9ea1 Cleanup and document defaults and pre-scan hook 2021-10-22 02:02:59 -04:00
Raman Gupta
c774b8eeca Additional scanadf arg order change
Another scanadf arg order change to try and prevent weird argument
parsing errors some users are encountering.
2021-10-22 01:58:14 -04:00
Raman Gupta
c621a12cb6
Merge pull request #36 from DavidFromNL/master
Four suggestions
2021-10-22 01:45:41 -04:00
David
61f30830df Help: Echo default scanner from variable instead
of hardcoded string.
2021-10-20 12:02:50 +02:00
David
4595af7f64 If scan_pre exists in the local config dir,
execute it just before running scanadf. This
allows for last moment changes to the variables.
(In my case, I need to strip --page-height [...]
from PGHEIGHT for scanadf to work.)
2021-10-20 11:59:56 +02:00
David
44a6b0002d Fix the order of parameters. (Otherwise --resolution is ignored if --source is set) 2021-10-20 11:59:02 +02:00
David
1035d998cc Use a configuration file (if it exists) to allow the user to set preferred defaults, including TMP_DIR. Also move the initalization of SOURCE above the inclusion of the configuration. 2021-10-20 11:57:12 +02:00
Raman Gupta
2cfa7f6899 Merge branch '33-multi-output-loop-fix' into master 2021-08-06 17:48:02 -04:00
Raman Gupta
9ed52ab2fa More arithmetic context improvements, corner cases
* Handle truncate pages greater than or equal to the number of
scans.
2021-08-06 17:45:40 -04:00
Raman Gupta
d716cdbe8c Fix the multi-output loop
Resolves #33.

Fixes the arithmetic comparison in the while loop being
incorrect.

Also, handles the situation in which there are more output
files being specified than scans available, in addition
to the already handled reverse situation.
2021-08-06 12:51:29 -04:00
Raman Gupta
f9d329cf27 Merge branch 'issue-30-bc-detection' into master 2021-07-30 12:56:58 -04:00
Raman Gupta
45cf51f9e8 Skip empty page detection if optional bc not available 2021-07-30 12:48:20 -04:00
Raman Gupta
ded351edf4
Merge pull request #31 from p/readme-tips
Add helpful usage tips to the readme
2021-07-30 11:47:58 -04:00
Raman Gupta
e03bdfc7b4
Merge pull request #28 from p/quotes
Fix quotes in the readme to be around the arguments only
2021-07-30 11:47:13 -04:00
Oleg Pudeyev
3d059dd5f6 Add helpful usage tips to the readme 2021-07-30 10:45:25 -04:00
Oleg Pudeyev
fd81fe0a4c Fix quotes in the readme to be around the arguments only 2021-07-30 10:14:41 -04:00
Raman Gupta
c25dcdb8a5
Merge pull request #27 from p/no-shift
Remove erroneous shift call
2021-07-27 21:43:20 -04:00
Raman Gupta
3b2d3cedd4
Merge pull request #26 from p/quote-mode
Quote the --mode argument for printers like Brother DCP-7065DN which use spaces in mode names
2021-07-27 21:42:49 -04:00
Raman Gupta
e001a8affb
Merge pull request #25 from p/value-help
Document "scanadf -L" and "scanadf -d <device> --help" invocations
2021-07-27 21:40:40 -04:00
Oleg Pudeyev
257c740095 Remove erroneous shift call 2021-07-27 20:38:44 -04:00
Oleg Pudeyev
cfce23c271 Quote the --mode argument for printers like Brother DCP-7065DN which use spaces in mode names 2021-07-27 20:38:34 -04:00
Oleg Pudeyev
f35971f404 Document "scanadf -L" and "scanadf -d <device> --help" invocations 2021-07-27 20:01:58 -04:00
Raman Gupta
084f0723b8
Merge pull request #24 from p/mode-warning
Add the warning when neither -m/--mode nor --mode-hw-default are specified
2021-07-27 11:04:15 -04:00
Oleg Pudeyev
c26d0b1bf7 Add the warning when neither -m/--mode nor --mode-hw-default are specified
As discussed in #22
2021-07-27 10:56:17 -04:00
Raman Gupta
9f4eb852a4
Merge pull request #22 from p/no-mode
Add --mode-hw-default option to not set --mode
2021-07-27 10:49:52 -04:00