Skip to content

Commit

Permalink
Turned enlarge off. If requested image sizes are bigger then origin s…
Browse files Browse the repository at this point in the history
…izes - return origin image
  • Loading branch information
shifr committed Oct 17, 2016
1 parent e561df2 commit 5116a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgwizard.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (s *Settings) loadSettings() {

//defaults for vips
Options.Crop = true
Options.Enlarge = true
Options.Enlarge = false
Options.Extend = vips.EXTEND_WHITE
Options.Interpolator = vips.BILINEAR

Expand Down

0 comments on commit 5116a20

Please sign in to comment.