From 9608fbaa5a1a99d039b8af0f2ea3dc8670e239e8 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 20 Jul 2020 11:49:12 +0100 Subject: Update preproc to v0.1.4 to take advantage of vertical wiping parameters, and change WipeFile() to take advantage of them --- cmd/bookpipeline/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/bookpipeline') diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go index 16ce596..f2a06cc 100644 --- a/cmd/bookpipeline/main.go +++ b/cmd/bookpipeline/main.go @@ -177,7 +177,7 @@ func wipe(towipe chan string, up chan string, errc chan error, logger *log.Logge s := strings.Split(path, ".") base := strings.Join(s[:len(s)-1], "") outpath := base + "_bin0.0.png" - err := preproc.WipeFile(path, outpath, 5, 0.03, 30) + err := preproc.WipeFile(path, outpath, 5, 0.03, 30, 120, 0.005, 30) if err != nil { for range towipe { } // consume the rest of the receiving channel so it isn't blocked -- cgit v1.2.1-24-ge1ad