[sane-devel] HP5370C - Distorted image

Martijn van Oosterhout kleptog at svana.org
Sun Jan 11 03:15:39 GMT 2004


While I can't really tell you how to fix it, what causes the problem is
actually trivial.

Lets say that the scanning software is expecting the scanner to send 541
pixels per line and the scanner actually sends 542, each row gets offset by
one leading to a very nice 45 degree slant to the right. If it sends 540 you
get a slant to the left.

It's a very simple off-by-one error. Maybe if you try scanning different
sizes to see which ones work and which ones don't you can get some kind of
idea of where the discrepancy lies.

Hope this helps,

On Sun, Jan 11, 2004 at 03:29:54AM +0100, gilles at ffii.org wrote:
> Hello.
> 
> First: Thanks a lot for your continuous efforts to make this scanner work with
> Linux!
> 
> [Last time I had tried it (several months ago), with 'hpusbscsi', I had to
> quickly power off the scanner as the awful noise and erratic motion of the
> scanning made me believe it would fall apart...
> Today I compiled kernel 2.6.0, and reading that 'hpusbscsci' was now
> obsolete, I thought I could give it a try.]
> 
> Now the scanner doesn't seem to suffer anymore :-) but the image produced
> is distorted: I'm among the unlucky ones who get a 45 degrees
> shifted-wrapped image (cf. a post from November 26).
> 
> Is the source of the problem known?  Any chance that the scanner will be
> working properly?  [Scanning is the last and only thing which I must do on
> M$-Windows!]
> 
> 
> Best regards,
> 
> Gilles
> 
> P.S.  System info:
> # scanimage --version
> scanimage (sane-backends) 1.0.13; backend version 1.0.13
> 
> Debian GNU/Linux testing/unstable
> 
> -- 
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org

-- 
Martijn van Oosterhout   <kleptog at svana.org>   http://svana.org/kleptog/
> (... have gone from d-i being barely usable even by its developers
> anywhere, to being about 20% done. Sweet. And the last 80% usually takes
> 20% of the time, too, right?) -- Anthony Towns, debian-devel-announce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20040111/d532f6aa/attachment.sig>


More information about the sane-devel mailing list