Exemple #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()
}
// 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)
}