Stream st = Request.Files[0].InputStream; 
                Byte[] buffer = new Byte[st.Length];
                st.Read(buffer, 0, buffer.Length);
                MemoryStream stream = new MemoryStream(buffer);   
                Bitmap img = new Bitmap(stream);
                int width = img.Width;
                int height = img.Height;
                stream.Close();
                st.Close();

相关文章:

  • 2021-08-29
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2022-01-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-02
  • 2022-12-23
  • 2021-11-12
  • 2022-01-07
相关资源
相似解决方案