// Sets the size and offset of the magick wand. Set it before you read a raw // image format such as RGB, GRAY, or CMYK. func (mw *MagickWand) SetSizeOffset(cols, rows uint, offset int) error { C.MagickSetSizeOffset(mw.mw, C.size_t(cols), C.size_t(rows), C.ssize_t(offset)) return mw.GetLastError() }
// Sets the size and offset of the magick wand. Set it before you read a raw // image format such as RGB, GRAY, or CMYK. func (mw *MagickWand) SetSizeOffset(cols, rows uint, offset int) error { ok := C.MagickSetSizeOffset(mw.mw, C.size_t(cols), C.size_t(rows), C.ssize_t(offset)) return mw.getLastErrorIfFailed(ok) }