-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (40 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>(Draft) Mostpopularpx: The Most popular pixels in an image</title>
<link rel="stylesheet" href="assets/app.css" />
</head>
<body>
<h1>(Draft) Mostpopularpx: The Most popular pixels in an image</h1>
<label for="removeSimilar">Remove similar:</label><br />
<input type="checkbox" id="removeSimilar" name="removeSimilar" /><br />
<label for="imageLoader">Image File:</label><br />
<input type="file" id="imageLoader" name="imageLoader" /><br />
<canvas id="imageCanvas" width="200" height="200"></canvas>
<h3>Top 5 color in a image:</h3>
<div>
<div class="top" id="top-0"><div class="value-hex">#000000</div></div>
<div class="top" id="top-1"><div class="value-hex">#000000</div></div>
<div class="top" id="top-2"><div class="value-hex">#000000</div></div>
<div class="top" id="top-3"><div class="value-hex">#000000</div></div>
<div class="top" id="top-4"><div class="value-hex">#000000</div></div>
</div>
<script src="assets/app.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-56663343-5"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-56663343-5");
</script>
</body>
</html>