public virtual ProcessingJob imageReady(IImage16 img)
        {
            global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.BatchProcessingListener_imageReady(swigCPtr, IImage16.getCPtr(img));
            ProcessingJob         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ProcessingJob(cPtr, false);

            return(ret);
        }
        public static IImage16 processImage(ProcessingJob job, SWIGTYPE_p_int errorCode, ProgressListener pl, bool tunnelMetaData, bool flush)
        {
            global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.processImage__SWIG_0(ProcessingJob.getCPtr(job), SWIGTYPE_p_int.getCPtr(errorCode), ProgressListener.getCPtr(pl), tunnelMetaData, flush);
            IImage16 ret = (cPtr == global::System.IntPtr.Zero) ? null : new IImage16(cPtr, false);

            if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
            {
                throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static IImage16 processImage(ProcessingJob job, SWIGTYPE_p_int errorCode)
        {
            global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.processImage__SWIG_3(ProcessingJob.getCPtr(job), SWIGTYPE_p_int.getCPtr(errorCode));
            IImage16 ret = (cPtr == global::System.IntPtr.Zero) ? null : new IImage16(cPtr, false);

            if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
            {
                throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IImage16 obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }