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

@ -15,13 +15,8 @@ import (
"strings"
"sync"
"unsafe"
d "github.com/tj/go-debug"
)
// debug is internally used to
var debug = d.Debug("bimg")
// VipsVersion exposes the current libvips semantic version
const VipsVersion = string(C.VIPS_VERSION)
@ -386,7 +381,6 @@ func vipsPreSave(image *C.VipsImage, o *vipsSaveOptions) (*C.VipsImage, error) {
}
if o.OutputICC != "" && vipsHasProfile(image) {
debug("Embedded ICC profile found, trying to convert to %s", o.OutputICC)
outputIccPath := C.CString(o.OutputICC)
defer C.free(unsafe.Pointer(outputIccPath))