Skip to content

Commit

Permalink
Resolve go vet issues
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhpedersen committed Oct 12, 2016
1 parent 87beaae commit d836762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert_image.go
Expand Up @@ -44,6 +44,6 @@ func convertImage(r io.Reader) ([]byte, error) {

// Re-encode as low quality jpeg
var buf bytes.Buffer
err = jpeg.Encode(&buf, img, &jpeg.Options{40})
err = jpeg.Encode(&buf, img, &jpeg.Options{Quality: 40})
return buf.Bytes(), err
}

0 comments on commit d836762

Please sign in to comment.