Samsung SCX-4500W return of "Not a JPEG file" error
Tested with master and 1.0.30 of backends
This scanner is in the blacklist at https://gitlab.com/sane-project/backends/-/blob/master/backend/xerox_mfp.c#L213 and the strncmp there worked for some time (either that or I just had an old patched version still installed).
Trying to scan a document I got the "Not a JPEG file" error back, checking issue #200 (closed) it seems the dev->sane.model
value changed or at least is not the correct one to test. For me it is "Samsung SCX-4500W Series"
I changed that !strncmp()
to !!strstr()
and check works again fine, this should probably changed for the other models too