摘要:
public Image ThumbImg(Image sourceImage) { int thumbwidth = 600; int width = sourceImage.Width; int height = sourceImage.Height; if (thumbwidth >= width) { return sourceImage; } else { Image imgThumb = new System.Drawing.Bitmap(thumbwidth, height * thumbwidth / width); System.Drawing.Graphics g = 阅读全文