[sane-devel] Image of scanned ,document is split in two

Torbjörn Stabo torbjorn at stabo.se
Fri Aug 14 11:17:09 BST 2020


No problem. Done: https://gitlab.com/sane-project/backends/-/issues/338
Thanks for helping this far.
/Regards, Torbjörn Stabo

Den 2020-08-14 kl. 11:45, skrev Thierry HUCHARD:
> Hi,
>
> can you open an issue at this address 
> (https://gitlab.com/sane-project/backends/)?
> The maintainer of the backend will be able to look at your problem.
>
> Thierry
>
> Le 2020-08-14 01:21, Torbjörn Stabo a écrit :
>> Hi. Thanks for answering.
>>
>> sane updated, versions before/after for info:
>> $ apt list --upgradable
>> Listar… Färdig
>> libsane-common/focal,focal 1.0.30+git20200809-focal0 all
>> [uppgraderingsbart från: 1.0.29-0ubuntu5]
>> libsane/focal 1.0.30+git20200809-focal0 amd64 [uppgraderingsbart från:
>> 1.0.29-0ubuntu5]
>> sane-utils/focal 1.0.30+git20200809-focal0 amd64 [uppgraderingsbart
>> från: 1.0.29-0ubuntu5]
>>
>> And here's the scanimage output:
>> $ scanimage -L
>> device `pixma:04A9173C' is a CANON Canon PIXMA MP490 multi-function 
>> peripheral
>> /Regards, Torbjörn Stabo
>>
>> Den 2020-08-14 kl. 00:14, skrev Thierry HUCHARD:
>>> Hi Torbjörn,
>>>
>>> Can you update your sane version?
>>>
>>> $ sudo add-apt-repository ppa:rolfbensch/sane-git
>>> $ sudo apt-get update
>>> $ sudo apt install libsane libsane-common sane-utils
>>>
>>> Can you provide the log of this command?
>>>
>>> $ scanimage -L
>>>
>>> Thierry
>>>
>>> Le 2020-08-13 22:52, Torbjörn Stabo a écrit :
>>>> Hi.
>>>>
>>>> I asked about this in #sane and was told to go here.
>>>>
>>>> I am using xsane 0.999 in kubuntu 20.04. When I try to load settings
>>>> for my scanner using that GUI the scanner is called CanonPIXMAMP490.
>>>>
>>>> $ scanimage --version
>>>> scanimage (sane-backends) 1.0.29; backend version 1.0.29
>>>>
>>>> Now, the problem is that even though I put *one* paper in the scanner
>>>> the result image that is shown in xsane contains *two* papers! The
>>>> papers are next to eachother in the image, kind of "occupying half the
>>>> width" each. They're not perfect(it was quite visible when I scanned a
>>>> photo with persons in it), each paper is half as wide as it should be.
>>>> If I scale the image and double its width things look much better.
>>>> It's like the two papers should be "interlaced" with eachother to
>>>> create the correct scan image.
>>>>
>>>> Not sure if I can draw this in ascii:
>>>>
>>>> Result image:
>>>>
>>>> -----------------------
>>>> | --------- --------- |
>>>> | | Half  | | Half  | |
>>>> | | width | | width | |
>>>> | | paper | | paper | |
>>>> | |       | |       | |
>>>> | --------- --------- |
>>>> -----------------------
>>>>
>>>> Scaled version of result image, doubled width:
>>>>
>>>> -----------------------
>>>> | ------------------- |
>>>> | | Full            | |
>>>> | | width           | |
>>>> | | paper           | |
>>>> | |                 | |
>>>> | ------------------- |
>>>> -----------------------
>>>>
>>>> Does anyone here know what is causing this? And how to get rid of that
>>>> "interlace effect"? Of course scaling the image is a satisfactory
>>>> workaround for me, though I'm not sure the result is pixel perfect.
>>>>
>>>> Thanks in advance.
>>>>
>>>> /Regards, Torbjörn Stabo





More information about the sane-devel mailing list