摘要:取得上傳圖片長寬和改變圖片SIZE
System.Drawing.Image tmp = System.Drawing.Image.FromStream(.PostedFile.InputStream);
System.Drawing.Image img = tmp.GetThumbnailImage(width, height, null, IntPtr.Zero);
img.Save(檔案位置+檔案名稱);
img.Dispose();
tmp.Dispose();