Fix image quality
This commit is contained in:
parent
3225640d7d
commit
d28c903b10
|
@ -78,7 +78,7 @@ func corpImage(img image.Image, width int, level int, dirname string) {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
jpeg.Encode(fileOut, imgOut, &jpeg.Options{})
|
||||
jpeg.Encode(fileOut, imgOut, &jpeg.Options{Quality: 85})
|
||||
fileOut.Close()
|
||||
wg.Done()
|
||||
}(&wg, i, j, img)
|
||||
|
|
Loading…
Reference in New Issue