chnaged default blend for image output
added bitmap log to video output
This commit is contained in:
parent
6287e16a86
commit
7cf896365c
11
Program.cs
11
Program.cs
@ -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());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user