[sane-devel] [PATCH] Fix MX892 interleaving issue at high resolutions.
Henry Ptasinski
henry at logout.com
Thu Nov 29 16:21:57 UTC 2012
The MX890 series scanners do not need pixel reordering at high dpi, so
treat them the same as MX360, MX370, etc.
Signed-off-by: Henry Ptasinski <henry at logout.com>
---
backend/pixma_mp150.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/backend/pixma_mp150.c b/backend/pixma_mp150.c
index d2653d6..4a17fca 100644
--- a/backend/pixma_mp150.c
+++ b/backend/pixma_mp150.c
@@ -1079,9 +1079,10 @@ post_process_image_data (pixma_t * s, pixma_imagebuf_t * ib)
mp->shift, mp->stripe_shift);
/* special image format for *most* devices at high dpi.
- * MP220, MX360, MX370, MG5300 are exceptions */
+ * MP220, MX360, MX370, MX890, MG5300 are exceptions */
if (s->cfg->pid != MP220_PID && s->cfg->pid != MX360_PID
- && s->cfg->pid != MX370_PID && s->cfg->pid != MG5300_PID && n > 0)
+ && s->cfg->pid != MX370_PID && s->cfg->pid != MX890_PID
+ && s->cfg->pid != MG5300_PID && n > 0)
reorder_pixels (mp->linebuf, sptr, c, n, m, s->param->wx, line_size);
/* Crop line to selected borders */
--
1.7.5.4
More information about the sane-devel
mailing list