コード例 #1
0
 protected override void CallExternalDeveloper(Development d)
 {
     d.StartWatching();
     Hyena.Log.Information(String.Format("Calling generic raw developer {0}", executable));
     System.Diagnostics.Process ufraw = System.Diagnostics.Process.Start(executable);
     ufraw.EnableRaisingEvents = true;
     ufraw.Exited += new EventHandler((sender, e) => d.StopWatching());
 }
コード例 #2
0
ファイル: DarkTable.cs プロジェクト: polymeris/f-spot
 void DoDevelop(Development d)
 {
     // After user edits...
     // ...actually generate, JPEG using darktable-cli. Make sure sidecar is present!
     string executable = "darktable-cli";
     string args = String.Format ("'{0}' '{1}'",
                                  d.RawUri.LocalPath, d.DevelopedUri.LocalPath);
     System.Diagnostics.Process dt_cli = System.Diagnostics.Process.Start (executable, args);
     dt_cli.Exited += (sender, e) => d.StopWatching();
 }
コード例 #3
0
ファイル: Rawstudio.cs プロジェクト: polymeris/f-spot
 protected override void CallExternalDeveloper(Development d)
 {
     string executable = "rawstudio";
     string args = String.Format ("--output='{1}' '{0}'",
                                  d.RawUri.LocalPath, d.DevelopedUri.LocalPath);
     d.StartWatching ();
     Log.Information (String.Format ("Calling Rawstudio: {0} {1}", executable, args));
     System.Diagnostics.Process rs = System.Diagnostics.Process.Start (executable, args);
     rs.EnableRaisingEvents = true;
     rs.Exited += (sender, e) => d.StopWatching();
 }
コード例 #4
0
ファイル: RawTherapee.cs プロジェクト: polymeris/f-spot
 protected override void CallExternalDeveloper(Development d)
 {
     string executable = "ufraw";
     string args = String.Format (
         "--overwrite --out-type=jpeg --output='{1}' '{0}'",
         d.RawUri.LocalPath, d.DevelopedUri.LocalPath);
     d.StartWatching ();
     Log.Information (String.Format ("Calling UFRaw: {0} {1}", executable, args));
     System.Diagnostics.Process ufraw = System.Diagnostics.Process.Start (executable, args);
     ufraw.EnableRaisingEvents = true;
     ufraw.Exited += new EventHandler((sender, e) => d.StopWatching());
 }