Obviously, RAW scanning is completely disabled on purpose. In ledm.c I
found the following in function set_scan_mode_side_effects:

   switch (scanMode)
   {
      case CE_K1:         /* same as GRAY8 */
      case CE_GRAY8:
      case CE_COLOR8:
      default:
//         ps->compressionList[j] = STR_COMPRESSION_NONE;
//         ps->compressionMap[j++] = SF_RAW;
         ps->compressionList[j] = STR_COMPRESSION_JPEG;
         ps->compressionMap[j++] = SF_JPEG;
         ps->currentCompression = SF_JPEG;
         ps->option[LEDM_OPTION_JPEG_QUALITY].cap |= SANE_CAP_SOFT_SELECT;   /* 
enable jpeg quality */
         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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1245578

Title:
  cannot disable JPEG compression when scanning (Deskjet 3520 All-in-
  one)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1245578/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to