diff options
author | Nick White <git@njw.name> | 2020-07-20 11:49:12 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-07-20 11:49:12 +0100 |
commit | 9608fbaa5a1a99d039b8af0f2ea3dc8670e239e8 (patch) | |
tree | b2f7be08fd3019916cea788dacb1f9670fa5c349 | |
parent | 8aa2d713d511baeaa94472e238e46c6d02ac9332 (diff) |
Update preproc to v0.1.4 to take advantage of vertical wiping parameters, and change WipeFile() to take advantage of themv0.2.5
-rw-r--r-- | cmd/bookpipeline/main.go | 2 | ||||
-rw-r--r-- | go.mod | 4 | ||||
-rw-r--r-- | go.sum | 4 |
3 files changed, 6 insertions, 4 deletions
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 @@ -1,5 +1,7 @@ module rescribe.xyz/bookpipeline +go 1.14 + require ( github.com/aws/aws-sdk-go v1.30.5 github.com/blend/go-sdk v2.0.0+incompatible // indirect @@ -13,6 +15,6 @@ require ( golang.org/x/text v0.3.2 // indirect gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect gopkg.in/yaml.v2 v2.2.8 // indirect - rescribe.xyz/preproc v0.1.3 + rescribe.xyz/preproc v0.1.4 rescribe.xyz/utils v0.1.3 ) @@ -57,7 +57,7 @@ gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= rescribe.xyz/integralimg v0.1.1 h1:riLayPKKM5bs/ZyIcYhbUs4qP8wQOWc+tMxOF3vuscI= rescribe.xyz/integralimg v0.1.1/go.mod h1:2euyPigpyIixTWO6JtFEhDp/3YKA6yy+d8g17oL0L0s= -rescribe.xyz/preproc v0.1.3 h1:uAMsCtKTUgyZqe5WKyIl2a/jechpXYlYuAdPpOxhB64= -rescribe.xyz/preproc v0.1.3/go.mod h1:7suad8Xzn4ldExFYiawZBVzTAm2h0n5/S6EuG/ZceqQ= +rescribe.xyz/preproc v0.1.4 h1:5C2L7tDUrL2gN5Gr+Fi7iguk/dwufxjkMjJxyLuldmI= +rescribe.xyz/preproc v0.1.4/go.mod h1:7suad8Xzn4ldExFYiawZBVzTAm2h0n5/S6EuG/ZceqQ= rescribe.xyz/utils v0.1.3 h1:2rlHbUjAGXy/xgtmUb6Y7Kbpxl3qkwtWzkFUQ/cOaIA= rescribe.xyz/utils v0.1.3/go.mod h1:4L2vClYUFklsXggN0CUyP/alcgzLNRT0dMpMfEiVbX8= |