mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-08 10:45:04 +02:00
Remove forgotten debug
This commit is contained in:
parent
45a6f85c48
commit
8efe48e4be
@ -248,7 +248,6 @@ func processImage(data []byte, imgtype imageType, po processingOptions, t *timer
|
|||||||
if scale < 1.0 {
|
if scale < 1.0 {
|
||||||
if shrink := calcShink(scale, imgtype); shrink != 1 {
|
if shrink := calcShink(scale, imgtype); shrink != 1 {
|
||||||
scale = scale * float64(shrink)
|
scale = scale * float64(shrink)
|
||||||
log.Printf("Scale: %f, Shrink: %d", scale, shrink)
|
|
||||||
|
|
||||||
if tmp, e := vipsLoadImage(data, imgtype, shrink); e == nil {
|
if tmp, e := vipsLoadImage(data, imgtype, shrink); e == nil {
|
||||||
C.swap_and_clear(&img, tmp)
|
C.swap_and_clear(&img, tmp)
|
||||||
|
Loading…
Reference in New Issue
Block a user