摘要: 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 = 阅读全文
posted @ 2013-12-05 09:25 忆森灵 阅读(153) 评论(0) 推荐(0) 编辑