[sane-devel] Question about pixel packing

2007-11-30 Thread Alexander Bechikov
Hi. Thanks you guys once again. I have scanned the first image. I found that scanner does not pack the data in a 300dpi and 8bit mode. Here are image http://hp46xx.narod.ru/img.jpg and test program with usbsnoop parsed log http://hp46xx.narod.ru/test.tar.bz2 Thanks. -- Best Regards.

[sane-devel] Question about pixel packing

2007-11-28 Thread Alexander Bechikov
Hi. I've probably told you what you already knew, but one simple test you can do is scan sheets of red paper, blue paper and green paper and look at the data you get. Should make it easy to spot the color components, and determine if there's anything else besides color components in the data

[sane-devel] Question about pixel packing

2007-11-28 Thread Gerhard Jaeger
On Wednesday 28 November 2007 17:07:23 Alexander Bechikov wrote: Hi. I've probably told you what you already knew, but one simple test you can do is scan sheets of red paper, blue paper and green paper and look at the data you get. Should make it easy to spot the color components, and

[sane-devel] Question about pixel packing

2007-11-28 Thread Alexander Bechikov
On Wed, 28 Nov 2007 17:12:18 +0100 Gerhard Jaeger gerhard at gjaeger.de wrote: On Wednesday 28 November 2007 17:07:23 Alexander Bechikov wrote: Hi. I've probably told you what you already knew, but one simple test you can do is scan sheets of red paper, blue paper and green paper and

[sane-devel] Question about pixel packing

2007-11-27 Thread Alexander Bechikov
Hi all. I'm still trying make scanner working on unix. I created program that replaying usbsnoop logs and get image data, but i don't know how i can see scanned image. I has information about image data from twain debug log: BUFFER_INFO Bytes Per Line = 5100 Pixel Width = 850 Pixel

[sane-devel] Question about pixel packing

2007-11-27 Thread Julien BLACHE
Alexander Bechikov goo at t72.ru wrote: Hi, Others here will know better than me, but anyway. BUFFER_INFO Bytes Per Line = 5100 Pixel Width = 850 So that's 6 bytes / line, which is coherent with the info below. Pixel Height = 1170 So you should get 5.0 MB of data. SCANNER