showbits/showbits-thermal-printer/static/image.html
2025-02-22 21:54:54 +01:00

31 lines
877 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>TP: Image</title>
</head>
<body>
<h1>Upload an image</h1>
<form method="post" enctype="multipart/form-data">
<ol>
<li><input type="file" name="image" /></li>
<li>
<label><input type="checkbox" name="bright" checked /> Bright</label>
</li>
<li>
Dithering algorithm:
<select name="algo">
<option value="floyd-steinberg">Floyd-Steinberg</option>
<option value="stucki">Stucki</option>
</select>
</li>
<li>
Scale:
<input name="scale" type="number" min="1" max="8" value="1" />
</li>
<li><button>Print!</button></li>
</ol>
</form>
</body>
</html>