[simple-scan] Use default quality setting to prevent slow scanning. Fixes: #155
- From: Bartosz <bkosiorek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [simple-scan] Use default quality setting to prevent slow scanning. Fixes: #155
- Date: Fri, 6 Mar 2020 11:54:50 +0000 (UTC)
commit d2a4a89f554ad9a55903afadb75e645a65e4795b
Author: Bartosz Kosiorek <gang65 poczta onet pl>
Date: Sun Mar 1 16:46:54 2020 +0100
Use default quality setting to prevent slow scanning. Fixes: #155
src/scanner.vala | 16 ----------------
1 file changed, 16 deletions(-)
---
diff --git a/src/scanner.vala b/src/scanner.vala
index caf740b..fbcc6c6 100644
--- a/src/scanner.vala
+++ b/src/scanner.vala
@@ -1094,22 +1094,6 @@ public class Scanner : Object
set_bool_option (handle, option, index, (job.type != ScanType.SINGLE) && (job.type !=
ScanType.BATCH), null);
}
- /* Disable compression, we will compress after scanning */
- option = get_option_by_name (handle, "compression", out index);
- if (option != null)
- {
- string[] disable_compression_names =
- {
- Sane.I18N ("None"),
- Sane.I18N ("none"),
- "None",
- "none"
- };
-
- if (!set_constrained_string_option (handle, option, index, disable_compression_names, null))
- warning ("Unable to disable compression, please file a bug");
- }
-
/* Set resolution and bit depth */
option = get_option_by_name (handle, Sane.NAME_SCAN_RESOLUTION, out index);
if (option != null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]