Sure, I used `dpkg-buildpackage -b``` to build it.

The change was just to remove the offending condition as was suggested:

diff -ur sane-backends-1.0.29.orig/backend/genesys/low.cpp 
sane-backends-1.0.29/backend/genesys/low.cpp
--- sane-backends-1.0.29.orig/backend/genesys/low.cpp   2021-02-16 
17:18:42.000000000 -0500
+++ sane-backends-1.0.29/backend/genesys/low.cpp        2021-02-16 
11:10:24.655216925 -0500
@@ -650,12 +650,6 @@
     if ((session.params.flags & ScanFlag::DISABLE_GAMMA) != ScanFlag::NONE) {
         return false;
     }
-    if (sensor.gamma[0] == 1.0f || sensor.gamma[1] == 1.0f || sensor.gamma[2] 
== 1.0f) {
-        return false;
-    }
-    if (session.params.depth == 16)
-        return false;
-
     return true;
 }

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to simple-scan in Ubuntu.
https://bugs.launchpad.net/bugs/1327801

Title:
  Bightness and contrast settings have no effect

Status in sane-backends:
  Unknown
Status in sane-backends package in Ubuntu:
  Confirmed
Status in simple-scan package in Ubuntu:
  Invalid

Bug description:
  Scanner: Canon, Inc. CanoScan N1240U/LiDE 30
  Ubuntu 14.04, Simple Scan version 3.12.1.

  Adjusting the settings of brightness and contrast has no effect.

  With the default for scanning in "text" mode being too bright, this makes 
"Simple Scan" in text mode unusable for me.
  Brightness and contrast settings don't work in "foto" mode, too. But the 
default of the foto mode is usable.

  Brightness setting does work in program "Skanlite".

To manage notifications about this bug go to:
https://bugs.launchpad.net/sane-backends/+bug/1327801/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to