<div dir="ltr"><div>Hello,</div><div><br></div><div>I have an Epson v370 which, due to a driver error, can only scan colors at 8-bit color depth in Linux (Fedora 27). When selecting 16-bit depth from the Xsane options and pressing "Scan", the scanner pauses as if it is sending data to the computer, while Xsane crashes. Note that 16-bit depth works with grayscale. I need 16-bit depth to work for color mode so I can scan film negatives, which is the sole reason I bought the scanner.<br></div><div><br></div><div>This topic has also been discussed in this mailing list: <a href="https://alioth-lists.debian.net/pipermail/sane-devel/2008-June/022224.html">https://alioth-lists.debian.net/pipermail/sane-devel/2008-June/022224.html</a> , where someone says that the driver assumes 8-bit color RGB, therefore it crashes when it receives 16-bit RGB. That person managed to fix this in a patch, but I couldn't find that specific patch.<br></div><div><br></div><div>I currently have the following packages installed:</div><div>iscan-2.30.2-2.x86_64</div><div>iscan-data-1.30.0-1.x86_64</div><div>

<p style="margin:0px;white-space:pre-wrap">iscan-plugin-perfection-v370-1.0.0-2.x86_64</p>sane-backends-1.0.27-17<br></div><div>xsane version 0.999<br></div><div><br></div><div>I would have no issue modifying the source code myself, if I would know where to look. I already downloaded the source code packages for iscan and iscan-data from Epson. At a first glance, I think I should look into the iscan package, in the file backend/epkowa.c. Which function is the one receiving RGB data from the scanner?</div><div><br></div><div>Kind regards,</div><div>Camil<br></div><div><br></div><div><br></div></div>