File size: 724 Bytes
ef987bb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>图片上传 · 自动加水印</title>
</head>
<body>
<header><h1>图片上传页面 · 自动加水印</h1></header>
<main>
<!-- TODO: implement a plain image upload page that auto-applies a text watermark:
- a file input to choose an image
- draw the uploaded image onto a <canvas> preserving its aspect ratio
- overlay a configurable text watermark (text / font size / opacity / position),
default text "Answer"
- keep originals untouched in a local in-memory store; expose the result image -->
</main>
</body>
</html>
|