-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheditorIMG.html
48 lines (42 loc) · 1.13 KB
/
editorIMG.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
<head>
<style>
#canvas2 {
border: 1px solid #2980b9;
display: none;
}
#text2 {
display: none;
color: #2980b9;
}
#original {
border: 1px solid #2980b9;
}
td {
text-align: center;
}
</style>
</head>
<body>
<center>
<table border="1" style="width:80%">
<tbody>
<tr>
<td colspan="2"> <input type="file" id="capturar" capture accept="image/*"> </td>
</tr>
<tr>
<td> <img id="original" style="width:50%"> </td>
<td> <canvas id="canvas" style="width:50%"></canvas> </td>
</tr>
<tr>
<td colspan="2"> <button>Gris</button> <button>Azul</button> <button>Transparente</button> <button>Negativo</button>
<button>Sepia</button> </td>
</tr>
<tr> </tr>
</tbody>
</table>
</center>
<script src="editorIMG.js"></script>
</body>
</html>