// Returns the ImageMagick quantum depth as a string constant. func GetQuantumDepth() (string, uint) { cst := C.size_t(0) csq := C.MagickGetQuantumDepth(&cst) return C.GoString(csq), uint(cst) }
// Returns the ImageMagick quantum depth as a string constant. func GetQuantumDepth() (string, uint) { cst := C.size_t(0) csq := C.MagickGetQuantumDepth(&cst) defer C.free(unsafe.Pointer(csq)) return C.GoString(csq), uint(cst) }