110,538
社区成员
发帖
与我相关
我的任务
分享
Url = this.txt_AUrl.Text;
FileStream fileStream = new FileStream(Url, FileMode.Open);
Stream stream = fileStream as Stream;
System.Drawing.Image initImage = System.Drawing.Image.FromStream(stream, true);
Bitmap imgBit = new Bitmap(initImage, initImage.Width / 100, initImage.Height / 100);
imgBit.Save("D:\\Gif\\" + this.txt_name.Text, System.Drawing.Imaging.ImageFormat.Gif);