chnaged default blend for image output

added bitmap log to video output
This commit is contained in:
Benjamin Barratt love 2022-11-15 13:47:03 +00:00
parent 6287e16a86
commit 7cf896365c

View File

@ -32,16 +32,21 @@ namespace Cupola
if (Console.ReadKey().Key == ConsoleKey.S) if (Console.ReadKey().Key == ConsoleKey.S)
{ {
Bitmap bout = await Combine(images.ToArray(), 1f); Bitmap final = await Combine(images.ToArray(), 0.6f);
bout.Save(name + ".png");
final.Save(name + ".png");
} }
else else
{ {
Bitmap previousBit = images[0]; Bitmap previousBit = images[0];
List<Bitmap> oldBitmaps = new List<Bitmap>();
for (int i = 1; i < images.Count; i++) 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()); Console.WriteLine(i.ToString());