<div dir="ltr">The 5900 has a mode where JPEG compression is done in the Fujitsu scanner backend, thus reducing the bandwidth used in the USB2.0 connection to the Ubuntu system.<div><br></div><div>I have seen this working on an Ubuntu 12-based computer. I understand that fujitsu.c from SANE 1.0.24 was modified by the programmer who was volunteering for this non-profit back then, but I am not sure that I have an exact copy of that C file. </div><div><br></div><div>I am trying to get the system working on a new computer with Ubuntu 16.04. We have modified the fujitsu.c file but we are getting an error message. I don't have the exact message but it was to the effect that an option was not enabled.</div><div><br></div><div>As such I am hoping to get help with these questions:</div><div><br></div><div>- Is it true that the only changes necessary to enable the in-scanner JPEG compression are in fujitsu.c?</div><div><br></div><div>- Can someone tell me exactly what those changes are for 1.0.27? Just to confirm, I think this is build 133.</div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>I have been assuming that this was what required, but perhaps there is something more?</div><div><br></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>At line 667 change:</div><div><br></div></blockquote></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>#ifndef SANE_FRAME_JPEG</div><div>#define SANE_FRAME_JPEG 0x0B</div><div>#define SANE_JPEG_DISABLED 1</div><div>#endif</div></div><div><br></div></blockquote></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>To:</div><div><br></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>#ifndef SANE_FRAME_JPEG</div><div>#define SANE_FRAME_JPEG 0x0B</div><div>/*#define SANE_JPEG_DISABLED 1*/</div><div>#endif<br></div></blockquote></blockquote><div><br></div><div>- At runtime the option being used is in the scanimage arguments is</div><div><br></div><div>       --compression JPEG </div><div><br></div><div>   Is any other option needed to enable scanner-side JPEG compression?</div><div><br></div><div>- Is the --mode color option required for scanner-side JPEG compression on this scanner?</div><div><br></div><div><br></div><div>Thanks in advance.</div><div><br></div><div><div>Regards,</div><div><br></div><div>Wes Rishel</div><div>Retired Healthcare Computer Nerd</div><div><br></div><div>____</div><div><br></div><div>"Rainbows are just to look at, not to really understand."</div><div><br></div><div>Children's Beguiling Ideas About Science        Proffered by T. K. Cassidy - Children's Librarian        <a href="mailto:tkc@kuentos.guam.net">tkc@kuentos.guam.net</a></div><div>____</div><div> </div></div><div><br></div><div><div><br></div><div><br></div></div></div>