/// <summary> /// Writes processing data or images to disk /// </summary> public static void ProcessFiles() { if ((CurrentProject.Type == ProjectType.LapseStudio && !Directory.Exists(ImageSavePath)) || (CurrentProject.Type == ProjectType.RawTherapee && ((ProjectRT)CurrentProject).RunRT && !Directory.Exists(ImageSavePath))) { throw new DirectoryNotFoundException("Output directory doesn't exist"); } CurrentProject.ProcessFiles(); }