Reduced image quality

This commit is contained in:
Eduard Urbach 2017-11-09 12:12:04 +01:00
parent b62fb45379
commit 2d4b71971e

View File

@ -33,6 +33,9 @@ func main() {
results := jobs.Wait() results := jobs.Wait()
color.Green("Finished downloading %d anime images.", len(results)) 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{} { func work(job interface{}) interface{} {
@ -53,8 +56,8 @@ func work(job interface{}) interface{} {
mediumSize := 142 mediumSize := 142
smallSize := 55 smallSize := 55
webpQuality := 85 webpQuality := 80
jpegQuality := 85 jpegQuality := 80
system := &ipo.System{ system := &ipo.System{
Inputs: []ipo.Input{ Inputs: []ipo.Input{