C#实现的图片压缩

C#实现的图片压缩
1.简单的实现方法 C# public static System.Drawing.Image GetImageThumb(System.Drawing.Image sourceImg, int width, int height) { System.Drawing.Image targetImg = new System.Drawing.Bitmap(width, height); using (System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(targetImg)) { ...