<div class="gmail_quote">I&#39;m using the Lineart mode and trying the --swdespeck option and I&#39;ve noticed its leaving a black band along the bottom of the image.
<div><br></div><div>The 2nd issue, is that when I turn the debug up ( SANE_DEBUG_GENESYS=10 ) and try the same scan, the process seg faults. The following is the stack from the core:</div><div><br></div><div><div><font face="&#39;courier new&#39;, monospace">(gdb) bt</font></div>

<div><font face="&#39;courier new&#39;, monospace">#0  0x00007fa3e4ce35c8 in sanei_genesys_write_pnm_file (filename=0x7fa3e4cec479 &quot;unprocessed.pnm&quot;, </font></div><div><font face="&#39;courier new&#39;, monospace">    data=0x7fa3e2267000 &lt;Address 0x7fa3e2267000 out of bounds&gt;, depth=1, channels=1, pixels_per_line=2360, lines=3188)</font></div>

<div><font face="&#39;courier new&#39;, monospace">    at genesys_low.c:144</font></div><div><font face="&#39;courier new&#39;, monospace">#1  0x00007fa3e4caa60f in genesys_buffer_image (s=0x99e340) at genesys.c:6895</font></div>

<div><font face="&#39;courier new&#39;, monospace">#2  0x00007fa3e4caccab in sane_genesys_start (handle=0x99e340) at genesys.c:7864</font></div><div><font face="&#39;courier new&#39;, monospace">#3  0x00007fa3eae33ae2 in sane_dll_start (handle=0x99b2a0) at dll.c:1263</font></div>

<div><font face="&#39;courier new&#39;, monospace">#4  0x00007fa3eae20d38 in sane_start (h=0x99b2a0) at dll-s.c:48</font></div><div><font face="&#39;courier new&#39;, monospace">#5  0x0000000000406d1c in main (argc=13, argv=0x7fffe2b73a08) at scanimage.c:2283</font></div>

</div><div><br></div><div> The code is trying to write out a file ( unprocessed.pnm ) containing ... I think the Lineart converted data before performing the despeck process.</div><div><br></div><div>I&#39;d be happy to help with a fix for this, or provide further information or testing.</div>

<div><br></div><div>Thanks,</div><div>Brian ..</div></div>