This commit is contained in:
蒋小陌 2024-06-01 10:45:38 +08:00
parent 6803b8b55e
commit 8536f828ad

View File

@ -3,7 +3,9 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
<title>图片水印打码工具</title> <title>图片水印打码工具,本地图片水印工具 - 安全保护您的敏感证件</title>
<!-- 介绍 -->
<meta name="description" content="安全地为你的图片加水印,无任何网络请求,特别适合各种敏感证件(身份证,驾照,护照等)。">
<style> <style>
#container { #container {
max-width: 500px; max-width: 500px;
@ -27,31 +29,31 @@
</head> </head>
<div id="container"> <div id="container">
<h1>图片水印打码工具</h1> <h1>图片水印打码工具</h1>
<article>安全地为你的图片加水印,无任何网络请求,特别适合各种敏感证件(身份证,驾照,护照等)。<a href="https://github.com/joyqi/sfz">Github地址</a></article> <article>安全地为你的图片加水印,无任何网络请求,特别适合各种敏感证件(身份证,驾照,护照等)。</article>
<label for="image">第一步:先选择一张本地图片</label> <label for="image">第一步:先选择一张本地图片</label>
<p><input type="file" id="image" autocomplete="off"></p> <p><input type="file" id="image" autocomplete="off"></p>
<label for="text">第二步:输入需要打水印的文字</label> <label for="text">第二步:输入需要打水印的文字</label>
<p><input type="text" id="text" placeholder="请输入文字" autocomplete="off" maxlength="30"> <p><input type="text" id="text" placeholder="请输入文字" autocomplete="off" maxlength="30">
<label for="color">颜色</label> <label for="color">颜色</label>
<input type="color" id="color" pattern="#[0-9A-Fa-f]{6}" autocomplete="off" value="#0000FF"><br> <input type="color" id="color" pattern="#[0-9A-Fa-f]{6}" autocomplete="off" value="#0000FF"><br>
<label for="alpha">透明度</label> <label for="alpha">透明度</label>
<input type="range" id="alpha" min="0" max="1" step="0.05" autocomplete="off" value="0.15"><br> <input type="range" id="alpha" min="0" max="1" step="0.05" autocomplete="off" value="0.15"><br>
<label for="angle">角度</label> <label for="angle">角度</label>
<input type="range" id="angle" min="-90" max="90" step="3" autocomplete="off" value="45"><br> <input type="range" id="angle" min="-90" max="90" step="3" autocomplete="off" value="45"><br>
<label for="space">间隔</label> <label for="space">间隔</label>
<input type="range" id="space" min="1" max="8" step="0.2" autocomplete="off" value="4"><br> <input type="range" id="space" min="1" max="8" step="0.2" autocomplete="off" value="4"><br>
<label for="size">字号</label> <label for="size">字号</label>
<input type="range" id="size" min="0.5" max="3" step="0.05" autocomplete="off" value="1"> <input type="range" id="size" min="0.5" max="3" step="0.05" autocomplete="off" value="1">
</p> </p>
<label for="text">第三步:点击图片下载</label> <label for="text">第三步:点击图片下载</label>
<p> <p>
<label for="auto-refresh">实时刷新</label> <label for="auto-refresh">实时刷新</label>