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()); }
protected override void CallExternalDeveloper(Development d) { string executable = "darktable"; string args = String.Format ("-d memory '{0}'", d.RawUri.LocalPath); d.StartWatching (); Log.Information (String.Format ("Calling Darktable: {0} {1}", executable, args)); System.Diagnostics.Process dt = System.Diagnostics.Process.Start (executable, args); dt.EnableRaisingEvents = true; dt.Exited += (sender, o) => DoDevelop(d); }
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()); }