帝国CMS程序安装头像裁切插件,帝国CMS怎么实现头像裁切功能(18)

法律法规网 作者:小柯
来源 来源: 网络  法律法规网 时间: 2014-01-22 10:26:01  评论(/)

               string oPa人体Width = context.Request.Form["W"].ToString();
               string oPa人体Height = context.Request.Form["H"].ToString();
               int width = Conve人体.ToInt32(context.Request.Form["width"].ToString());
               ImgHelper imghelper = new ImgHelper();
               
               imghelper.GetPa人体(spPath, spSavedPath, 0, 0, 100, 100,Conve人体.ToInt32(pOrigSta人体PointX),Conve人体.ToInt32(pOrigSta人体PointY), Conve人体.ToInt32(oPa人体Width), Conve人体.ToInt32(oPa人体Height),width);
               context.Response.Write("<content>" + pSavedPath + "</content>");
           }
           
       }
       catch (Exception ex)
       {
           context.Response.Write("<content>Error</content>");
       }
   }

   public bool IsReusable
   {
       get
       {
           return false;
tags:

站长推荐 / Recommend

最近更新 / Latest

站长推荐:

网站首页 关于我们 友情链接 广告服务 联系我们 网站地图 免责声明 WAP
Powered by LC123.NET 8.5  © 2009-2015
本站常年法律顾问 王正兴 律师