static void CompleteGifOptions(this GifOptions options, Upload video, Upload gif, IHostingEnvironment env) { options.Exec = env.GetExecPath(); options.Temp = env.GetTempPath(); options.Origin = video.Path; options.Destination = gif.Path; }