initial
This commit is contained in:
15
TestConsoleApp/Program.cs
Normal file
15
TestConsoleApp/Program.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user