This commit is contained in:
2021-12-27 16:32:17 +08:00
parent 5975f73cfb
commit 3a948f2063
13 changed files with 1366 additions and 0 deletions

15
TestConsoleApp/Program.cs Normal file
View File

@@ -0,0 +1,15 @@
using PhotoThumbnail;
using System.Drawing.Imaging;
using System.IO;
namespace TestConsoleApp
{
internal class Program
{
static void Main(string[] args)
{
var bitmap = TgaDecoder.FromStream(File.OpenRead(@"C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\assets\presets\fern\materials\presets\fern1.tga"));
bitmap.Save(@"C:\Users\tsanie\Downloads\test.png", ImageFormat.Png);
}
}
}