Exemplo n.º 1
0
// Sets the interpolate pixel method.
func (mw *MagickWand) SetInterpolateMethod(method InterpolatePixelMethod) error {
	C.MagickSetInterpolateMethod(mw.mw, C.InterpolatePixelMethod(method))
	return mw.GetLastError()
}
Exemplo n.º 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)
}