Esempio 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()
}
Esempio 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)
}