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);
        }
Example #2
0
 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();
     }
 }