MagickGetImageRegion
MagickGetImageRegion() 函数提取图像的一个地区,并作为新的 wand 返回它。
MagickGetImageRegion 函数的格式是:
MagickWand *MagickGetImageRegion(MagickWand *wand, const size_t width, const size_t height,const ssize_t x, const ssize_t y)
各个参数描述如下:
wand --> the magick wand.
width --> the region width(该地区的宽度) height --> the region height.
x --> the region x offset(该区域 x 位移) y --> the region y offset.
调节 x、y 可以移动图像