-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (49 loc) · 1.78 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="./css/base.min.css">
<link rel="stylesheet" href="./css/index.min.css">
<title>RGB GrayScale Generator</title>
</head>
<body>
<section class="main">
<h1>RGB"それぞれ"のグレースケール生成機</h1>
<p>UnityのLightにあるCookieに使いたいのでつくりました</p>
<hr>
<section class="interface">
<section class="input-area">
<section>
ファイル名<br>
<input type="text" id="name" value="test1.png" placeholder="ファイル名">
</section>
<section>
画像設定<br>
<input type="file" id="inputFile">
上に乗せる画像設定<br>
<input type="file" id="inputMaskFile">
</section>
</section>
</section>
<button id="gen" onClick="gen()" class="btn">生成</button>
<section class="output">
<section class="output-group">
<img id="preview">
</section>
<section class="output-group">
<img id="redImg">
<button onClick="dl(0)" class="btn">Red Download</button>
</section>
<section class="output-group">
<img id="greenImg">
<button onClick="dl(1)" class="btn">Green Download</button>
</section>
<section class="output-group">
<img id="blueImg">
<button onClick="dl(2)" class="btn">Blue Download</button>
</section>
</section>
<script src="js/index.js"></script>
</section>
</body>
</html>