mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-13 01:10:29 -07:00
commit
cd21e84c71
11 changed files with 1 additions and 450 deletions
|
|
@ -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 {
|
||||
|
|
@ -224,9 +222,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
|
||||
}
|
||||
|
||||
|
|
@ -247,9 +242,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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue