Skip to content

Commit

Permalink
Escl: Disable brightness/contrast/threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Sep 5, 2023
1 parent e4c72ec commit c6b0bfe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions NAPS2.Escl/Client/EsclClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ public async Task<EsclJob> CreateScanJob(EsclScanSettings settings)
new XElement(ScanNs + "ColorMode", settings.ColorMode),
new XElement(ScanNs + "XResolution", settings.XResolution),
new XElement(ScanNs + "YResolution", settings.YResolution),
new XElement(ScanNs + "Brightness", settings.Brightness),
new XElement(ScanNs + "Contrast", settings.Contrast),
new XElement(ScanNs + "Threshold", settings.Threshold),
// TODO: Brightness/contrast/threshold
// new XElement(ScanNs + "Brightness", settings.Brightness),
// new XElement(ScanNs + "Contrast", settings.Contrast),
// new XElement(ScanNs + "Threshold", settings.Threshold),
new XElement(PwgNs + "DocumentFormat", settings.DocumentFormat)));
var content = new StringContent(doc, Encoding.UTF8, "text/xml");
var url = GetUrl("ScanJobs");
Expand Down

0 comments on commit c6b0bfe

Please sign in to comment.