|
|
|
@ -19,18 +19,30 @@ |
|
|
|
|
<p class="err" id="errorMessage"></p> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<div class="inputoutput"> |
|
|
|
|
<canvas id="srcCanvasInput"></canvas> |
|
|
|
|
<div class="caption">srcCanvasInput <input type="file" id="srcFileInput" name="file" /></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="inputoutput"> |
|
|
|
|
<canvas id="dstCanvasInput"></canvas> |
|
|
|
|
<div class="caption">dstCanvasInput <input type="file" id="dstFileInput" name="file" /></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="inputoutput"> |
|
|
|
|
<canvas id="canvasOutput"></canvas> |
|
|
|
|
<table cellpadding="0" cellspacing="0" width="0" border="0"> |
|
|
|
|
<tr> |
|
|
|
|
<td> |
|
|
|
|
<canvas id="srcCanvasInput" class="small"></canvas> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<canvas id="dstCanvasInput" class="small"></canvas> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<canvas id="canvasOutput" class="small"></canvas> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td> |
|
|
|
|
<div class="caption">srcCanvasInput <input type="file" id="srcFileInput" name="file" accept="image/*" /></div> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<div class="caption">dstCanvasInput <input type="file" id="dstFileInput" name="file" accept="image/*" /></div> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<div class="caption">canvasOutput</div> |
|
|
|
|
</div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
<script src="utils.js" type="text/javascript"></script> |
|
|
|
|
<script id="codeSnippet" type="text/code-snippet"> |
|
|
|
|