Wykres commitów

9 Commity (3fae2e561d969caae937337e4a52b793d0ceba71)

Autor SHA1 Wiadomość Data
Andrew Sayers a336f5ed2f xerox_mfp: make JPEG compression user-configurable
JPEG compression improves scan time, and some scanners require it
for high DPI values.  But it loses some data, and we already support
toggling it at compile-time.

Add an advanced option so users can decide at scan-time.
2021-12-30 20:34:05 +02:00
Alex Belkin 7e7f02773e xerox_mfp: Fix crash in test mode
Do not decode JPEG into output buffer if it's NULL.
Also, I add assert() for `dev->decData` size, which is never
checked anywhere. Thanks to Michal Nowak for report and
testing. Fixes #128.

References:
  https://gitlab.com/sane-project/backends/issues/128

Tested-by: Michal Nowak <Mno-hime@gitlab>
2019-11-15 23:04:43 +03:00
Alex Belkin 226c2b9deb Update header and copyright statements for xerox_mfp. 2016-11-06 21:50:06 +03:00
Alex Belkin 83bbcfe7d5 Run indent: astyle -A8 -U -H -k3 -W3 -o xerox_mfp.[ch]
This is purely indent commit w/o any code changes.
To prove run `git diff -w`.
2016-11-06 20:24:02 +03:00
Alex Belkin 926bfade54 Color scanning for Samsung models, which support JPEG Lossy compression.
Patch is submitted by Laxmeesh Onkar Markod <m.laxmeesh@samsung.com>

Patch to code is applied almost verbatim, except, insignificant
formatting fixes and making new functions static.

Also, new USB ids added and scanner support is changed as reported.
2016-05-07 22:33:03 +03:00
Alex Belkin 842c98d204 Added Samsung SCX-4500W scan over network support for xerox_mfp backend (by Alexander Kuznetsov).
autoconf and automake reconfigure.
2010-09-30 15:11:56 +04:00
Alessandro Zummo b39c12dd7b Define MM_PER_INCH once for all 2009-06-18 15:54:49 +02:00
Alex Belkin 133d37e4e4 Proper handling of parameters (to fix xsane crash) 2009-02-02 18:29:08 +00:00
Alex Belkin 61f85eeea7 xerox_mfp backend base files 2008-12-15 18:31:55 +00:00