mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-14 01:46:18 -07:00
Remove debug output
This commit is contained in:
parent
c51a11f6d2
commit
401c985b5b
1 changed files with 0 additions and 1 deletions
|
|
@ -69,7 +69,6 @@ func resizer(buf []byte, o Options) ([]byte, error) {
|
||||||
shrink := calculateShrink(factor, o.Interpolator)
|
shrink := calculateShrink(factor, o.Interpolator)
|
||||||
residual := calculateResidual(factor, shrink)
|
residual := calculateResidual(factor, shrink)
|
||||||
|
|
||||||
fmt.Printf("size=%vx%v, factor=%v, shrink=%v, residual=%v, opts=%+v\n", inWidth, inHeight, factor, shrink, residual, o)
|
|
||||||
// Do not enlarge the output if the input width or height
|
// Do not enlarge the output if the input width or height
|
||||||
// are already less than the required dimensions
|
// are already less than the required dimensions
|
||||||
if !o.Enlarge && !o.Force {
|
if !o.Enlarge && !o.Force {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue