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()); }
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(); }
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(); }
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()); }