Beispiel #1
0
// Returns the normalized color of the pixel wand as string
func (pw *PixelWand) GetColorAsNormalizedString() string {
	return C.GoString(C.PixelGetColorAsNormalizedString(pw.pw))
}
Beispiel #2
0
// Returns the normalized color of the pixel wand as string
func (pw *PixelWand) GetColorAsNormalizedString() string {
	p := C.PixelGetColorAsNormalizedString(pw.pw)
	defer relinquishMemory(unsafe.Pointer(p))
	return C.GoString(p)
}