Exemplo n.º 1
0
// Sets the image resolution.
func (mw *MagickWand) SetResolution(xRes, yRes float64) error {
	C.MagickSetResolution(mw.mw, C.double(xRes), C.double(yRes))
	return mw.GetLastError()
}
Exemplo n.º 2
0
// Sets the image resolution.
func (mw *MagickWand) SetResolution(xRes, yRes float64) error {
	ok := C.MagickSetResolution(mw.mw, C.double(xRes), C.double(yRes))
	return mw.getLastErrorIfFailed(ok)
}