From 7cf896365c034b7643697b2a807eed67f489ac35 Mon Sep 17 00:00:00 2001 From: Benjamin Barratt love Date: Tue, 15 Nov 2022 13:47:03 +0000 Subject: [PATCH] chnaged default blend for image output added bitmap log to video output --- Program.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Program.cs b/Program.cs index 6c23546..29a7a79 100644 --- a/Program.cs +++ b/Program.cs @@ -32,16 +32,21 @@ namespace Cupola if (Console.ReadKey().Key == ConsoleKey.S) { - Bitmap bout = await Combine(images.ToArray(), 1f); - bout.Save(name + ".png"); + Bitmap final = await Combine(images.ToArray(), 0.6f); + + final.Save(name + ".png"); } else { Bitmap previousBit = images[0]; + List oldBitmaps = new List(); + for (int i = 1; i < images.Count; i++) { - previousBit.Save(name + (i - 1).ToString()); + oldBitmaps.Add(previousBit); + + previousBit.Save(name + "-" + (i - 1).ToString() + ".png"); Console.WriteLine(i.ToString());