// Returns the size associated with the magick wand. func (mw *MagickWand) GetSize() (cols, rows uint, err error) { var cc, cr C.size_t C.MagickGetSize(mw.mw, &cc, &cr) cols, rows, err = uint(cc), uint(cr), mw.GetLastError() return }
// Returns the size associated with the magick wand. func (mw *MagickWand) GetSize() (cols, rows uint, err error) { var cc, cr C.size_t ok := C.MagickGetSize(mw.mw, &cc, &cr) cols, rows, err = uint(cc), uint(cr), mw.getLastErrorIfFailed(ok) return }