-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (44 loc) · 1.4 KB
/
index.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Private</title>
<link rel="icon" type="image/png" href="images/icon.jpg">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<h1>Private</h1>
<div class="canvases">
<canvas id="c1">
</canvas>
<canvas id="c2">
</canvas>
<canvas id="c3">
</canvas>
<p class="names" id="p1">Cover<br>Image</p>
<p class="names" id="p2">Secret<br>Image</p>
<p class="names" id="p3">Output<br>Image</p>
</div>
<input type="file" accept="image/*" id="fgchoose" onchange="fgupload()">
<input type="file" accept="image/*" id="bgchoose" onchange="bgupload()">
<input type="button" class="b1" id="com" value="Encrypt & Combine" onclick="combine()">
<a id="download_btn" class="b1" onclick="download_img(this);">
Download
</a>
<div class="canvases second">
<canvas id="c4">
</canvas>
<canvas id="c5">
</canvas>
<canvas id="c6">
</canvas>
<p class="names" id="p4">Image to<br>Extract</p>
<p class="names" id="p5">Foreground<br>Image</p>
<p class="names" id="p6">Background<br>Image</p>
</div>
<input type="file" accept="image/*" id="img" onchange="com_upload()">
<input type="button" class="b1" id="ext" value="Decrypt & Extract" onclick="extract()">
<script src="Js/SimpleImage.js"></script>
<script src="Js/index.js"></script>
</body>
</html>