public static StagedImageProcessor create(InitialImage initialImage) { global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.StagedImageProcessor_create(InitialImage.getCPtr(initialImage)); StagedImageProcessor ret = (cPtr == global::System.IntPtr.Zero) ? null : new StagedImageProcessor(cPtr, false); return(ret); }
public static ProcessingJob create(InitialImage initialImage, ProcParams pparams) { global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.ProcessingJob_create__SWIG_1(InitialImage.getCPtr(initialImage), ProcParams.getCPtr(pparams)); ProcessingJob ret = (cPtr == global::System.IntPtr.Zero) ? null : new ProcessingJob(cPtr, false); if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending) { throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }