摘要:
stringfile=files[i];Imageimg=Image.FromFile(file);intwidth=img.Width;intheight=img.Height;if(width>height){width=800;height=width*img.Height/img.Width;}else{height=800;width=height*img.Width/img.Height;}Bitmapbt=newBitmap(width,height);Graphicsg=Graphics.FromImage(bt);g.DrawImage(img,0,0,width,he
阅读全文
posted @ 2011-07-13 14:11
三聪
阅读(209)
推荐(0)
编辑