|
|
|
|
@ -7,10 +7,10 @@ using System.IO.Compression;
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
|
|
|
|
|
namespace AM2RPortHelper
|
|
|
|
|
namespace AM2RPortHelper;
|
|
|
|
|
|
|
|
|
|
internal static class Program
|
|
|
|
|
{
|
|
|
|
|
internal static class Program
|
|
|
|
|
{
|
|
|
|
|
private const string version = "1.3";
|
|
|
|
|
private static readonly string tmp = Path.GetTempPath();
|
|
|
|
|
private static readonly string currentDir = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory);
|
|
|
|
|
@ -373,5 +373,4 @@ namespace AM2RPortHelper
|
|
|
|
|
picture.Mutate(x => x.Resize(dimensions, dimensions, KnownResamplers.NearestNeighbor));
|
|
|
|
|
picture.SaveAsPng(filePath);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|