http://dotnet.aspx.cc/ShowDetail.aspx?id=45E7E33C-F149-450E-B5D5-832958C20538

解决方案 »

  1.   

    缩略图是实现了,就是不知道怎么保存到服务器文件中。对GDI+一点都不懂
      

  2.   

    搞不懂,用image类,不有方法??
      

  3.   

    smallimg = oImg.GetThumbnailImage(100, 100, null, new System.IntPtr());
    smallimg.Save(@"D:\\",GetImageType(strContentType));
    执行后:
    异常详细信息: System.Runtime.InteropServices.ExternalException: GDI+ 中发生一般性错误。
    错误语句:smallimg.Save(@"D:\\",GetImageType(strContentType));