Bottom line I want to scan multiple text documents (ADF) into separate pdf files, with a little cleanup in the middle. The cleanup is basically some stray pixels and crisper text.
I tried gimp's plugin
xsane. I did select
ADF and all pages were scanned, but in the GUI there was only one tab or one image with one layer. I expected to see multiple tabs/images or layers. I'd prefer tabs/images.
(1) Anyone know what I did wrong?
I ended up using
gscan2pdf. I would like to run
gmic on the images before saving to pdfs. This I could do in a bash script. Here's is what I tried:
Quote:
gmic -input test.jpg -jeje_scandoc 1,10,90,5,0 -output test-out.jpg
gmic test.jpg jeje_scandoc 1,10,90,5,0 -output test-out.jpg
gmic test.jpg jeje_scandoc 1,10,90,5,0 test-out.jpg
The first two commands above worked, but I don't have a handle on
gmic syntax yet (i.e., what needs to be quoted). You don't need the
-input and
-output. You can totally remove
-input and it still works. It isn't the case with
-output, but I think if I had quotes right it would work.
(2) Can anyone comment on commandline
gmic and quoting, and get the 3rd command to work.
I also saw a
gmic option
-gui_split_preview. I envisioned this to look like the window displayed if a user opened the
gimp gmic plugin. But again I would be doing this in a bash script. Something like:
Quote:
gmic -gui_split_preview -input test.jpg -jeje_scandoc 1,10,90,5,0 -output test-out.jpg
But the above does not work.
(3) Does anyone know how to use gmic's
-gui_split_preview?
I might not need the bash script, I see
gscan2pdf under Preferences > General options allows the user to add tools. If I can get the above
gmic commands to work, I thought I'd try adding them to
gscan2pdf.
I've been googling, reading, and trying gmic's tutorial, but I've hit a wall.
(4) Any help, pointers, tips, or suggestions would be appreciated.
Thank you.