예제 #1
0
        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);
        }
예제 #2
0
		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
		}