cannot disable JPEG compression when scanning (Deskjet 3520 All-in-one)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Confirmed
|
Undecided
|
Ani Balakrishnan | ||
hplip (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Won't Fix
|
High
|
Unassigned | ||
Utopic |
Won't Fix
|
High
|
Unassigned |
Bug Description
I've already filed a "question" (https:/
I have a Deskjet 3520 All-in-one and no matter what I do, scans always arrive with JPEG artifacts. For example, with hp-scan, when I disable compression, I get the following error message:
"error: Unable to set option compression to value None"
When running XSane, in the advanced settings menu, I get JPEG as only compression option. Manually setting the compression to "none" in the drc file has no positive effect either. In any case, scans arrive with severe JPEG artifacts.
Used hplip version is 3.13.10 on Kubuntu 13.10. I've attached the output of hp-check.
Changed in hplip: | |
assignee: | nobody → Ani Balakrishnan (anib) |
Changed in hplip (Ubuntu Trusty): | |
status: | New → In Progress |
assignee: | nobody → Micah Gersten (micahg) |
Changed in hplip (Ubuntu Utopic): | |
status: | New → In Progress |
assignee: | nobody → Micah Gersten (micahg) |
Changed in hplip (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in hplip (Ubuntu Utopic): | |
importance: | Undecided → High |
Changed in hplip (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
assignee: | Micah Gersten (micahg) → nobody |
tags: |
added: bot-stop-nagging removed: verification-failed |
tags: | removed: bot-stop-nagging |
tags: |
added: bot-stop-nagging removed: verification-failed |
tags: | added: verification-failed |
tags: | removed: verification-failed |
Changed in hplip (Ubuntu): | |
importance: | Undecided → Critical |
importance: | Critical → High |
tags: |
added: saucy removed: artifacts bot-stop-nagging jpeg |
Obviously, RAW scanning is completely disabled on purpose. In ledm.c I found the following in function set_scan_ mode_side_ effects:
switch (scanMode) List[j] = STR_COMPRESSION _NONE; Map[j++ ] = SF_RAW;
ps->compressi onList[ j] = STR_COMPRESSION _JPEG;
ps->compressi onMap[j+ +] = SF_JPEG;
ps->currentCo mpression = SF_JPEG;
ps->option[ LEDM_OPTION_ JPEG_QUALITY] .cap |= SANE_CAP_ SOFT_SELECT; /* enable jpeg quality */
{
case CE_K1: /* same as GRAY8 */
case CE_GRAY8:
case CE_COLOR8:
default:
// ps->compression
// ps->compression
break;
}
Obviously, anything other than JPEG is disallowed. Enabling these two lines lets me select compression "none" without problems, but I still get the JPEG artifacts.