public ImageData(string fname, RawMetaDataLocation rml) : this(libPhotoAssistantImageProcessingPINVOKE.new_ImageData__SWIG_0(fname, RawMetaDataLocation.getCPtr(rml)), true) { if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending) { throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve(); } }
public static ImageMetaData fromFile(string fname, RawMetaDataLocation rml) { global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.ImageMetaData_fromFile(fname, RawMetaDataLocation.getCPtr(rml)); ImageMetaData ret = (cPtr == global::System.IntPtr.Zero) ? null : new ImageMetaData(cPtr, false); if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending) { throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RawMetaDataLocation obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }