Remove debug logging.
This commit is contained in:
parent
c36705181e
commit
11ebb18493
1 changed files with 0 additions and 4 deletions
|
|
@ -22,13 +22,9 @@ func Resize(src *IplImage, width, height, interpolation int) *IplImage {
|
|||
if width == 0 {
|
||||
ratio := float64(height) / float64(src.Height())
|
||||
width = int(float64(src.Width()) * ratio)
|
||||
log.Println(ratio)
|
||||
log.Println(width)
|
||||
} else if height == 0 {
|
||||
ratio := float64(width) / float64(src.Width())
|
||||
height = int(float64(src.Height()) * ratio)
|
||||
log.Println(ratio)
|
||||
log.Println(height)
|
||||
}
|
||||
|
||||
dst := CreateImage(width, height, src.Depth(), src.Channels())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue