static async Task Main(string[] args) { IBlurEffect blurEffect = new BlurEffect(); var blurredImagePath = Path.Combine(AssemblyDirectory, "blurredCity.jpg"); var assembly = Assembly.GetExecutingAssembly(); using (var imgStream = assembly.GetManifestResourceStream("Test.city.jpg")) using (var bitmap = Image.FromStream(imgStream) as Bitmap) { await blurEffect.ApplyAsync(bitmap, 20, true); bitmap.Save(blurredImagePath); } Process.Start("cmd.exe ", $"/c {blurredImagePath}"); }