Remove go-debug usage

This commit is contained in:
Mircea Cosbuc 2017-12-22 16:07:17 +01:00
parent 46db36e61c
commit ae46b2282a
11 changed files with 1 additions and 450 deletions

View file

@ -29,8 +29,6 @@ func resizer(buf []byte, o Options) ([]byte, error) {
return nil, errors.New("Unsupported image output type")
}
debug("Options: %#v", o)
// Auto rotate image based on EXIF orientation header
image, rotated, err := rotateAndFlipImage(image, o)
if err != nil {
@ -223,9 +221,6 @@ func transformImage(image *C.VipsImage, o Options, shrink int, residual float64)
return nil, err
}
debug("Transform: shrink=%v, residual=%v, interpolator=%v",
shrink, residual, o.Interpolator.String())
return image, nil
}
@ -246,9 +241,6 @@ func applyEffects(image *C.VipsImage, o Options) (*C.VipsImage, error) {
}
}
debug("Effects: gaussSigma=%v, gaussMinAmpl=%v, sharpenRadius=%v",
o.GaussianBlur.Sigma, o.GaussianBlur.MinAmpl, o.Sharpen.Radius)
return image, nil
}