summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-07-20 11:50:46 +0100
committerNick White <git@njw.name>2020-07-20 11:50:46 +0100
commit09b1d4f8f1992e15e78e7a15717eae2597526fea (patch)
treeddc9459dfc087d12979d45891a36fa8df1ff8502
parent629e436f63da8f19fd1654a634edf8e4f1c2bdad (diff)
parent9608fbaa5a1a99d039b8af0f2ea3dc8670e239e8 (diff)
Merge branch 'master' of https://git.rescribe.xyz/bookpipeline
-rw-r--r--cmd/bookpipeline/main.go2
-rw-r--r--go.mod4
-rw-r--r--go.sum4
3 files changed, 6 insertions, 4 deletions
diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go
index 0afda16..cd2d9c7 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
diff --git a/go.mod b/go.mod
index 59bdbc6..ab3ccda 100644
--- a/go.mod
+++ b/go.mod
@@ -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
)
diff --git a/go.sum b/go.sum
index 846186b..93f1371 100644
--- a/go.sum
+++ b/go.sum
@@ -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=