internal static void RunGmic(SafeGmicImageList list, GmicOptions options) { if (options is null) { ExceptionUtil.ThrowArgumentNullException(nameof(options)); } ValidateGmicImageList(list); GmicErrorInfo errorInfo = new GmicErrorInfo(); GmicStatus status = GmicNativeMethods.Instance.RunGmic(list, options, errorInfo); if (status != GmicStatus.Ok) { HandleError(status, errorInfo); } }
internal GmicStatus RunGmic(SafeGmicImageList list, GmicOptions options, GmicErrorInfo errorInfo) { return(runGmic(list, options, errorInfo)); }