internal static System.IO.Stream RawPixbufStream(Uri location) { string path = location.LocalPath; string [] args = new string [] { dcraw_command, "-h", "-w", "-c", "-t", "0", path }; InternalProcess proc = new InternalProcess(System.IO.Path.GetDirectoryName(path), args); proc.StandardInput.Close(); return(proc.StandardOutput); }
internal static System.IO.Stream RawPixbufStream (Uri location) { #if false string path = location.LocalPath; string [] args = new string [] { dcraw_command, "-h", "-w", "-c", "-t", "0", path }; InternalProcess proc = new InternalProcess (System.IO.Path.GetDirectoryName (path), args); proc.StandardInput.Close (); return proc.StandardOutput; #else return null; #endif }