fix(type_test): use string formatting

This commit is contained in:
Tomas Aparicio 2017-11-14 11:43:31 +01:00
parent 6837999321
commit 1f5f95c3c8
2 changed files with 5 additions and 4 deletions

View file

@ -90,6 +90,7 @@ func resizer(buf []byte, o Options) ([]byte, error) {
}
// Transform image, if necessary
fmt.Printf("should transform: %#v", shouldTransformImage(o, inWidth, inHeight))
if shouldTransformImage(o, inWidth, inHeight) {
image, err = transformImage(image, o, shrink, residual)
if err != nil {