Dear all,
I have a basic question on buffering the image.
Suppose I have an image data pointer * imageData; and I have image
dimension information i.e. width and height.
I need to copy the bytes read from the scanning process i.e. in the
buffer (sane_read(buffer,buffer_size,len)) to the image
yeah -- it works; I use OpenCV to buffer the image -- with the size
the same as the param.pixels_per_line * param.line (width * height)
On 2/3/09, m. allan noah kitno455 at gmail.com wrote:
but when you use scanimage, it works?
what image format are you saving it as?
allan
On Mon, Feb 2,
A non-text attachment was scrubbed...
Name: sane-desc.c.diff
Type: text/x-diff
Size: 716 bytes
Desc: drop devices with unsupported or unknown status from
the databases
Url :
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090203/5416d2b0/attachment.diff
yes it is.
I will try to check it again.
But AFAIK the fwrite and memory copy like this would be the same.
On 2/3/09, m. allan noah kitno455 at gmail.com wrote:
So if you output the image from your code to disk as a pnm, instead of
handing it to opencv, does it look right?
allan
On Mon,
Hello,
On Feb 3 11:23 Olaf Meeuwissen wrote (shortened):
m. allan noah kitno455 at gmail.com writes:
On Thu, Jan 29, 2009 at 10:27 AM, Johannes Meixner jsmeix at suse.de wrote:
...
I like to suggest to disable those entries in the
udev rules file which belong to unsupported devices
(at
Olaf Meeuwissen olaf.meeuwissen at avasys.jp wrote:
Hi,
That is to say, the problem is with sane-desc, not in the .desc files.
If I understood what the code does correctly the attached patch should
fix it.
The patch throws away anything after the first unsupported scanner for
a given