|
|
|
@ -20,18 +20,38 @@ |
|
|
|
|
<p class="err" id="errorMessage"></p> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<div class="inputoutput"> |
|
|
|
|
<canvas id="imageCanvasInput"></canvas> |
|
|
|
|
<div class="caption">imageCanvasInput <input type="file" id="fileInput" name="file" accept="image/*" /></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="inputoutput"> |
|
|
|
|
<canvas id="templateCanvasInput"></canvas> |
|
|
|
|
<div class="caption">templateCanvasInput <input type="file" id="templateFileInput" name="file" /></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="inputoutput"> |
|
|
|
|
<canvas id="canvasOutput"></canvas> |
|
|
|
|
<div class="caption">canvasOutput</div> |
|
|
|
|
</div> |
|
|
|
|
<table cellpadding="0" cellspacing="0" width="0" border="0"> |
|
|
|
|
<tr> |
|
|
|
|
<td> |
|
|
|
|
<canvas id="imageCanvasInput"></canvas> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<canvas id="canvasOutput"></canvas> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td> |
|
|
|
|
<div class="caption">imageCanvasInput <input type="file" id="fileInput" name="file" accept="image/*" /></div> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<div class="caption">canvasOutput</div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td> |
|
|
|
|
<canvas id="templateCanvasInput"></canvas> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td> |
|
|
|
|
<div class="caption">templateCanvasInput <input type="file" id="templateFileInput" name="file" accept="image/*" /></div> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
<script src="utils.js" type="text/javascript"></script> |
|
|
|
|
<script id="codeSnippet" type="text/code-snippet"> |
|
|
|
|