-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
34 lines (26 loc) · 1.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test picture generator</title>
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<a href="https://github.com/fknipp/test-picture-generator"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
<h1>Test picture generator</h1>
<p>This tool draws a simple test image using JavaScript commands.</p>
<p>I use the generated pictures to test the native resolution of displays as well as the implemented scaling strategies.</p>
<form action="#">
<label for="width">Width: </label>
<input type="text" id="width" value="480">
<label for="height">Height: </label>
<input type="text" id="height" value="270">
<button id="generate">Generate</button>
</form>
<div id="workspace">
</div>
<a id="download" href="#">Download as PNG</a>
<script src="js/main.js"></script>
</body>
</html>