[sane-devel] SOLVED: Fujitsu fi5900c JPG compression fails with ADF Duplex

m. allan noah kitno455 at gmail.com
Thu Sep 24 02:58:30 BST 2020


I have just pushed v137 of the fujitsu backend up to our git repo.
This fixes the bug Wes reported with the fi-5900, and also includes
some updated brightness/contrast code which should fix a bug with the
iX1500.

allan

On Mon, Sep 21, 2020 at 3:02 PM Wes Rishel <wrishel at gmail.com> wrote:
>
> M. Allan Noah provided a patch for fujitsu.c in Sane 1.0.31 that solves this problem. He has identified it as build#137
>
> Thanks, Allan for the rapid response!
>
> -- Wes
>
> On Fri, Sep 18, 2020 at 12:07 PM Wes Rishel <wrishel at gmail.com> wrote:
>>
>> Apparently my including debug created a messae that is too large.
>>
>> This time, the debugging output is in an attached zip.
>>
>>
>>> Working with 1.0.31.
>>> scanimage -V
>>> scanimage (sane-backends) 1.0.31; backend version 1.0.31
>>>
>>> These work:
>>> scanimage --mode color --source 'ADF Duplex' > x.jpg (produces a .pnm file)
>>> scanimage --mode color --compression JPEG > x.jpg (produces a .jpg file)
>>>
>>> This produces a Segmntation fault/core dump:
>>> scanimage --mode color --source 'ADF Duplex' --compression JPEG > x.jpg
>>>
>>> So does this:
>>> scanimage --mode color  --compression JPEG --source 'ADF Duplex'  > x.jpg
>>>
>>>
>>> Attached is the output runnng the failing options with SANE_DEBUG_FUJITSU=15
>>>


-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"



More information about the sane-devel mailing list