mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-08 23:18:19 -07:00
Remove go-debug usage
This commit is contained in:
parent
46db36e61c
commit
ae46b2282a
11 changed files with 1 additions and 450 deletions
6
vips.go
6
vips.go
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue