[sane-devel] CPen, new backend

2009-02-21 Thread m. allan noah
I had a quick look at your log, and there is clearly a 0x16 byte header on each transfer. The last two bytes of the header are little-endian length of the remaining bytes. Bytes 0xa and 0xb of the header seem to count upwards. unfortunately, even after removing the header, it still looks like nois

[sane-devel] CPen, new backend

2009-02-20 Thread Stefan Below
m. allan noah schrieb: > trial and error. > i have no luck yet... the image looks very wired with no similarity to the scaned area. I am not sure if i have to convert the binary data somehow. I don't even now what the scanning mode ist (gray/color/bw). I think it is black/white... but without

[sane-devel] CPen, new backend

2009-02-20 Thread Stefan Below
m. allan noah schrieb: > 2009/2/20 Stefan Below : > >> Hello, >> >> i have a nice little pen scanner (C-Pen 10) and i would like to write a >> driver for this device. I have already captured some data with usbsnoop and >> converted it with the perlscript. replaying is working fine. >> My onlz

[sane-devel] CPen, new backend

2009-02-20 Thread Stefan Below
Hello, i have a nice little pen scanner (C-Pen 10) and i would like to write a driver for this device. I have already captured some data with usbsnoop and converted it with the perlscript. replaying is working fine. My onlz problem is, that i am comming from the java world and i have zero expe

[sane-devel] CPen, new backend

2009-02-20 Thread m. allan noah
there is no reason to think that the image is standard row1 followed by row2, row3, etc. since you scan left to right with the pen, i think you can assume that the output is actually column1, column2, etc. This will require that you break the image into pieces and rotate each piece 90 degrees. scan

[sane-devel] CPen, new backend

2009-02-20 Thread m. allan noah
trial and error. On Fri, Feb 20, 2009 at 9:12 AM, Stefan Below wrote: > m. allan noah schrieb: >> 2009/2/20 Stefan Below : >> >>> Hello, >>> >>> i have a nice little pen scanner (C-Pen 10) and i would like to write a >>> driver for this device. I have already captured some data with usbsnoop an

[sane-devel] CPen, new backend

2009-02-20 Thread m. allan noah
2009/2/20 Stefan Below : > Hello, > > i have a nice little pen scanner (C-Pen 10) and i would like to write a > driver for this device. I have already captured some data with usbsnoop and > converted it with the perlscript. replaying is working fine. > My onlz problem is, that i am comming from th