manisandro / gImageReader

A Gtk/Qt front-end to tesseract-ocr.
GNU General Public License v3.0
1.6k stars 188 forks source link

Add custom scan modes seen in f+ imaging (Lexmark) proprietary driver #600

Closed realnickel closed 1 year ago

realnickel commented 2 years ago

An issue with distorted scan result was encountered for f+ imaging M60ade MFP.

$ sane-find-scanner -q found USB scanner (vendor=0x043d [f+ imaging], product=0x0382 [f+ imaging M60ade]) at libusb:002:020

Debugging revealed following messages: [...] [New Thread 0x7fffaaffd640 (LWP 15083)] Unable to set Color mode, please file a bug Unable to set Color mode, please file a bug Unable to set Gray mode, please file a bug [Thread 0x7fffaaffd640 (LWP 15083) exited] [Thread 0x7fffabfff640 (LWP 15081) exited]

while 'strings /usr/local/printer/unix_scan_drivers/lib/sane/libsane-mfp_nscan.so.1' showed custom constants:

[...] 1-bit Black & White 8-bit Grayscale 24-bit Color [...]

manisandro commented 1 year ago

Thanks!