init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
namespace LSFileClient
|
||||
{
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing.Imaging;
|
||||
|
||||
internal static class Program
|
||||
{
|
||||
[STAThread]
|
||||
private static void Main(string[] args)
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
ClientManager.init(args);
|
||||
// FormatTest();
|
||||
}
|
||||
public static void FormatTest()
|
||||
{
|
||||
string path = "C:\\Users\\Lskj-ZYW\\Desktop\\Image201812250005.bmp";// TODO: 初始化为适当的值
|
||||
string savePath = "C:\\Users\\Lskj-ZYW\\Desktop\\Image201812250005.png"; // TODO: 初始化为适当的值
|
||||
ImageFormat format = ImageFormat.Png; // TODO: 初始化为适当的值
|
||||
ImageUtil.Format(path, savePath, format, ImageUtil.ImgDeep.D8, 1366, 1366);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user