摘要:
分为两部分,一个是操作类,另外一个是测试。直接上代码了一、测试代码 private void button1_Click(object sender, EventArgs e) { string newSourcePath = ImgPath;//源图存放目录 string newNewDir = MakePath; //新图存放目录 string sourceFile = Path.Combine(ImgPath, "app1.jpg"); //获取原图路径 string newFile = string.Empty; //新图路径 ImgThumbnail iz = n 阅读全文