-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (57 loc) · 1.86 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>
<head>
<script src="lanczos.js"></script>
<script src="stickynote-shop.js"></script>
<script>
var sns = new SNShop();
</script>
</head>
<body>
<canvas id="pcanvas" width="750" style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.
</canvas>
<canvas id="ocanvas" width="750" style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.
</canvas>
<div class="input-widget" id="input-widget">
<input type="file" id="input-file" />
<input type="button" name="url-button" value="Choose Url" />
<input type="text" name="url" placeholder="http://server.com/cool-image.png"/>
<div>
<div>
<div>sticky:</div>
<input type="number" id="sticky-width" style="width: 50px">
<input type="number" id="sticky-height" style="width: 50px">
<input type="checkbox" id="sticky-dim-lock" checked>Lock
<span id="dim-in-stickynotes">
</span>
<div id="palettes">
</div>
Color Compare:
<select id="color-compare-algo">
<option value="luma" selected>Luma</option>
<option value="LabLightness">Lightness (L*a*b*)</option>
<option value="ycrcb">YCrCb Linear</option>
<option value="rgb-linear">RGB Linear</option>
<option value="Lab">Lab</option>
</select>
Image Shrink Algo:
<select id="image-shrink-algo">
<option value="topLeft">Top Left Point</option>
<option value="center">Center Point</option>
<option value="avarage" selected>Avarage</option>
<option value="fivePoint">Five Point</option>
<option value="centerSquareAvg">Center Square Avarage</option>
<option value="lanczos">Lanczos (slow)</option>
</select>
</div>
<canvas id="icanvas" style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.
</canvas>
<script>
sns.init();
</script>
</body>
</html>