Very much appreciated.
-Jeff
--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
to sane-devel-requ...@lists.alioth.debian.org
Revised so printing filenames to stdout is optional and defaults to off.
The new option is --batch-print. Please consider applying along with
happy-batch-1.1.gz
names-to-stdout-1.4.diff.gz
Description: GNU Zip compressed data
--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
Both of these patches (with some minor compiler silencing
modifications) have been committed to sane-backends. Thanks for your
effort and your patience. Thanks to Olaf for reviewing the code when I
was away.
allan
On Mon, Jul 14, 2014 at 3:57 PM, Jeff Breidenbach j...@jab.org wrote:
Revised so
Friendly reminder.
--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
to sane-devel-requ...@lists.alioth.debian.org
Is there anything more that I can do to help?
--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
to sane-devel-requ...@lists.alioth.debian.org
Thank you for the review, Olaf. I've incorporated both of your suggestions.
Jeff
On Thu, May 29, 2014 at 4:49 PM, Olaf Meeuwissen
olaf.meeuwis...@avasys.jp wrote:
Jeff Breidenbach writes:
Are these two patches on track for inclusion?
What more can I do to help?
names-to-stdout-1.2.diff.gz
Jeff Breidenbach writes:
Are these two patches on track for inclusion?
What more can I do to help?
names-to-stdout-1.2.diff.gz
happy-batch-1.0.diff.gz
I don't have commit privileges but both look mostly good to me.
Re: names-to-stdout-1.2.diff.gz, you have
@@ -2283,19 +2291,27 @@ List
Implementation was a little intrusive because there is no recovery
from calling freopen() on stdout. This preliminary patch follows
the recommendations of the C FAQ and introduces an explicit
stream variable. I've only done light testing.
http://c-faq.com/stdio/undofreopen.html
$ scanimage
Implemented and tested. Please consider for inclusion.
happy-batch-1.0.diff.gz
Description: GNU Zip compressed data
--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe
Testing found an error path with a double fclose.
Tiny tweak to make that impossible.
- if (0 != fclose(ofp))
+ if (!ofp || 0 != fclose(ofp))
names-to-stdout-1.2.diff.gz
Description: GNU Zip compressed data
--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
Jeff Breidenbach writes:
When I run scanimage on a Fujitsu S1500, the program is a little
unhappy even after normal operation, note the return code. This
is not great for pipelines. Should I attempt a fix? This is version
1.0.23-3ubuntu3 on the latest Ubuntu release. Sorry, I haven't yet
When I run scanimage on a Fujitsu S1500, the program is a little
unhappy even after normal operation, note the return code. This
is not great for pipelines. Should I attempt a fix? This is version
1.0.23-3ubuntu3 on the latest Ubuntu release. Sorry, I haven't yet
figured out how to configure a
Thank you, Allan. Tesseract will also accept image data directly
on stdin, so single scan mode should work just fine. I think it is
cleaner to use stdout as opposed to stderr for filenames. I will work
on a patch.
There is one possible alternative. Scanimage could emit image data
to stdout using
Jeffrey, gscan2pdf is terrific and I expect most users will prefer
the friendly graphical user interface. I would love to compare
notes with you on PDF generation nuances, and also coordinate
with respect to future Tesseract releases.
It's also good have the command line programs connect
together
We would accept a patch which adds a new argument to scanimage which
causes it to output the filename to stdout when it is in batch mode.
In single scan mode, this will never work, because the image is
printed on stdout. Another option is to add the filename to stderr,
which already has some meta
Thank you Simon, the --batch-script feature looks very flexible.
It almost does the trick:
scanimage --batch --batch-script (echo) | tesseract - -
Unfortunately, it runs just a little too early. The script executes
just before the temporary image file is renamed. Tesseract
wants to know about
16 matches
Mail list logo