<%@ Page Language="C#" %>

<%
    Chukeh.IO.CImage.CutImage(Context.Server.MapPath("Sample.jpg"), 100, 100, 500, 500, Context.Server.MapPath("Sample_Cut.jpg"));
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>文件对象操作示例</title>
    <link href="Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <h3><a href="index.htm">Chukeh.Data 小诸葛</a> - 图片文件操作示例</h3>
    <div>
        <fieldset>
            <legend>图片尺寸剪切</legend>
            剪切图片 Top:100,Left:100,Width:500,Height:500 后的结果<br />
            <img src="Sample_Cut.jpg" alt="剪切图片" />
        </fieldset>
    </div>
</body>
</html>