Exemple #1
0
// Returns the format of the magick wand.
func (mw *MagickWand) GetFormat() string {
	cstr := C.MagickGetFormat(mw.mw)
	defer C.free(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}
// Returns the format of the magick wand.
func (mw *MagickWand) GetFormat() string {
	cstr := C.MagickGetFormat(mw.mw)
	defer relinquishMemory(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}