Example #1
0
// Sets the wand background color.
func (mw *MagickWand) SetBackgroundColor(background *PixelWand) error {
	C.MagickSetBackgroundColor(mw.mw, background.pw)
	return mw.GetLastError()
}
Example #2
0
// Sets the wand background color.
func (mw *MagickWand) SetBackgroundColor(background *PixelWand) error {
	ok := C.MagickSetBackgroundColor(mw.mw, background.pw)
	return mw.getLastErrorIfFailed(ok)
}