예제 #1
0
// Sets the interpolate pixel method.
func (mw *MagickWand) SetInterpolateMethod(method InterpolatePixelMethod) error {
	C.MagickSetInterpolateMethod(mw.mw, C.InterpolatePixelMethod(method))
	return mw.GetLastError()
}
예제 #2
0
// Sets the interpolate pixel method.
func (mw *MagickWand) SetInterpolateMethod(method InterpolatePixelMethod) error {
	ok := C.MagickSetInterpolateMethod(mw.mw, C.InterpolatePixelMethod(method))
	return mw.getLastErrorIfFailed(ok)
}