[sane-devel] Format of binary data in Epson V200 -- any clue?

Ivan Boldyrev lispnik at gmail.com
Fri Jan 30 13:45:56 UTC 2009


I have scanned some binary images with epkowa and parsed data from
debug log.  The commands was:

$  export SANE_DEBUG_SANEI_USB=255
$  export SANE_DEBUG_EPKOWA=255
$  scanimage --mode Binary -t0 -l0 -x25.4 -y25.4 --threshold=180 \
           --x-resolution=300 --y-resolution=300 \
           > stripe-thresh-300x300.pbm \
           2> stripe-thresh-300x300-binary.log

The data packet is 4 times larger than output image.  Output image is
288x299; if I prepend data packet with header of
1152x299 image, something that resembles output image is show, but
wider, of course.  You may get packet, output image and constructed
image at http://ivan.ivanych.net/epvphoto/samples0/

So, do you have any idea how to convert data packet into output image?
 May be, you will see something similar...

-- 
Ivan Boldyrev



More information about the sane-devel mailing list