aboutsummaryrefslogtreecommitdiffstats
path: root/convert.go
diff options
context:
space:
mode:
Diffstat (limited to 'convert.go')
-rw-r--r--convert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert.go b/convert.go
index 432d0fc..2d79be2 100644
--- a/convert.go
+++ b/convert.go
@@ -113,7 +113,7 @@ func run() error {
case "gif":
err = gif.Encode(outputFile, input, nil)
case "jpeg", "jpg":
- err = jpeg.Encode(outputFile, input, nil)
+ err = jpeg.Encode(outputFile, input, &jpeg.Options{Quality: 100})
case "png":
err = png.Encode(outputFile, input)
case "bmp":