[sane-devel] Can anyone tell me what's going on with this?
Julien BLACHE
jb at jblache.org
Tue May 19 16:53:50 UTC 2009
Mark Pemburn <mark at pemburn.com> wrote:
Hi,
> I had a real "Doh!" moment when I realized that this was exactly
> what was happening (over-writing the buffer with each call to
> sane_read). Once I set up a second buffer and appended the partial
> data to with each pass, I was finally able to see the whole beautiful
> scanned image in my UI.
Not entirely sure what you mean in the above, so just in case: you
don't need a second buffer and copying data around, using a second
pointer will do.
JB.
--
Julien BLACHE <http://www.jblache.org>
<jb at jblache.org> GPG KeyID 0xF5D65169
More information about the sane-devel
mailing list