// Sets the image type attribute. func (mw *MagickWand) SetType(itype ImageType) error { C.MagickSetType(mw.mw, C.ImageType(itype)) return mw.GetLastError() }
// Sets the image type attribute. func (mw *MagickWand) SetType(itype ImageType) error { ok := C.MagickSetType(mw.mw, C.ImageType(itype)) return mw.getLastErrorIfFailed(ok) }