From 2d4b71971eef7b5d1a4b90d56d96bae9a4505d40 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 9 Nov 2017 12:12:04 +0100 Subject: [PATCH] Reduced image quality --- jobs/anime-images/anime-images.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jobs/anime-images/anime-images.go b/jobs/anime-images/anime-images.go index de9674a0..36788632 100644 --- a/jobs/anime-images/anime-images.go +++ b/jobs/anime-images/anime-images.go @@ -33,6 +33,9 @@ func main() { results := jobs.Wait() color.Green("Finished downloading %d anime images.", len(results)) + + // Give file buffers some time, just to be safe + time.Sleep(time.Second) } func work(job interface{}) interface{} { @@ -53,8 +56,8 @@ func work(job interface{}) interface{} { mediumSize := 142 smallSize := 55 - webpQuality := 85 - jpegQuality := 85 + webpQuality := 80 + jpegQuality := 80 system := &ipo.System{ Inputs: []ipo.Input{