Skip to content

gaowanliang/Privacy-Image-Watermark-Generator

Repository files navigation

Privacy Image Watermark Generator

Secure your private images with a full page watermark.

Privacy Image Watermark Generator is a web-based tool that allows you to add watermarks to your images without uploading them to any server. You can customize the watermark text, size, color and position, and choose whether to enable gradient color to prevent watermark removal. This tool is especially useful for protecting your privacy information such as passports, driver’s licenses, ID cards, etc. when uploading them online. You can also use this tool offline by closing the network after the web page is loaded. The code is open source and available on GitHub. Try it now and enjoy the convenience and security of Privacy Image Watermark Generator!

https://watermark.gwliang.com/

Features

  • Customizable watermarks: You can choose the text, color, size, and position of your watermark, and even apply gradient colors to make it more resistant to removal.
  • Browser-based processing: All the processing is done in your browser, so your images are never uploaded or stored anywhere else. This ensures your privacy and security.
  • Open source code: You can view our open source code on GitHub and use our tool offline if you prefer. You can also contribute to our project or report any issues or suggestions.
  • Free and easy-to-use: Our tool is free and easy-to-use, and does not require any registration or installation. You can add watermarks to your images in seconds with just a few clicks.

Generated Watermark Examples

Deployed your own version

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint