输入的是gif图片的路径
要求输出原图的(x,y),(x+w,y+h)的一个矩形裁剪并作为gif文件输出保存并直接输出到对方浏览器

解决方案 »

  1.   

    public void MatrixShearExample(PaintEventArgs e)
    {
    Matrix myMatrix = new Matrix();
    myMatrix.Shear(2, 0);
    e.Graphics.DrawRectangle(new Pen(Color.Green), 0, 0 , 100 , 50);
    e.Graphics.MultiplyTransform(myMatrix);
    e.Graphics.DrawRectangle(new Pen(Color.Red), 0, 0, 100, 50);
    e.Graphics.DrawEllipse(new Pen(Color.Blue), 0, 0, 100, 50);
    }
      

  2.   

    什么意思啊?
    看不懂啊比如原来的gif图片路径是abc.gif
    输出的图片路径是def.gif
    要求裁剪输出abc.gif的以(10,20)为左上角,长为30宽是40的一个矩形区域输出
    你的程序没处理这些啊
      

  3.   

    System.Drawing;
    System.Drawing.Imaging;这两个名称空间有你想的东西
      

  4.   

    用动画组件wsAniGIF2.6就可以做到
    www.wave12.com
      

  5.   

    <TR>
    <map name="FPMap0">
    <area href="pages/register/registerstep1.aspx" shape="RECT" coords="161,114,234,182">
    </map>
    <TD><IMG alt="" src="Images/index_login_02.jpg" width="6"></TD>
    <TD><IMG alt="" src="Images/index_login_03.jpg" width="235" usemap="#FPMap0"></TD>

    </TR>
      

  6.   

    using System.Drawing;
    using System.Drawing.Imaging;