Beispiel #1
0
 private void ParseDirectory(IXmpMeta meta)
 {
     try
     {
         FocusBlurAtInfinity = meta.GetPropertyDouble(nsFocus, "GFocus:BlurAtInfinity");
         FocusFocalDistance  = meta.GetPropertyDouble(nsFocus, "GFocus:FocalDistance");
         FocusFocalPointX    = meta.GetPropertyDouble(nsFocus, "GFocus:FocalPointX");
         FocusFocalPointY    = meta.GetPropertyDouble(nsFocus, "GFocus:FocalPointY");
         ImageMime           = meta.GetPropertyString(nsImage, "GImage:Mime");
         DepthFormat         = meta.GetPropertyString(nsDepthmap, "GDepth:Format");
         DepthNear           = meta.GetPropertyDouble(nsDepthmap, "GDepth:Near");
         DepthFar            = meta.GetPropertyDouble(nsDepthmap, "GDepth:Far");
         DepthMime           = meta.GetPropertyString(nsDepthmap, "GDepth:Mime");
     }
     catch (Exception e)
     {
         Debug.WriteLine(e);
         // Silent catch. Not sure what to do.
     }
 }