Skip to content

Detects and removes text-based watermarks. PDF文字水印去除

License

Notifications You must be signed in to change notification settings

Sam-SSTU/PDFTextWatermarkRemover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Text Watermark Remover|PDF水印文字移除工具

image image

English | 中文说明

A powerful desktop application that intelligently removes text-based watermarks from PDF files while preserving the original content. The application features a user-friendly GUI and supports customizable watermark detection.

Features

  • 🔍 Smart watermark detection based on customizable keywords
  • 🗑️ Selective removal of text watermarks without affecting document content
  • 🖼️ Handles both text and form-based watermarks
  • 🎯 Preserves document quality and formatting
  • 🔧 User-friendly graphical interface
  • ⚙️ Customizable watermark keywords
  • 📊 Detailed watermark detection reports
  • 💾 Batch processing support

Quick Start

Method 1: Using Pre-built Executables (Recommended)

  1. Download the latest release for your platform from the releases page:

    • Windows: PDF-Watermark-Remover.exe
    • macOS: PDF-Watermark-Remover.app
  2. Run the application:

    • Windows: Double-click the .exe file
    • macOS: Double-click the .app file

      Note: If you see "app can't be opened" on macOS, follow these steps:

      1. Find the app in Finder
      2. Control-click the app icon
      3. Choose "Open" from the menu
      4. Click "Open" in the dialog box

      Or:

      1. Open "System Preferences" > "Security & Privacy"
      2. Click the "General" tab
      3. Click the lock icon and enter your password
      4. Click "Open Anyway"

Method 2: Installing from Source

  1. Ensure you have Python 3.7 or higher installed
  2. Clone the repository:
git clone https://github.com/yourusername/pdf-watermark-remover.git
cd pdf-watermark-remover
  1. Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
python gui.py

Building from Source

To create your own executable:

python build.py

The executable will be created in the dist directory.

Usage Guide

  1. After launching, the interface is straightforward:

    • File selection area at the top
    • Progress display in the middle
    • Function buttons at the bottom
  2. Basic workflow:

    • Click "Browse" to select your PDF file
    • Click "Check Watermarks" to preview watermarks
    • Click "Remove Watermarks" to process
    • Choose where to save the processed file
  3. Watermark keyword management:

    • Click "Manage Keywords" to open settings
    • Add or remove keywords (one per line)
    • Supports both English and other languages
    • Click "Save" to apply changes

Default Watermark Keywords

The application comes with pre-configured keywords for common watermarks:

- Review Copy
- University Press
- Copyright Material
- Review Only
- Not for Redistribution
- International

Acknowledgments

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Detects and removes text-based watermarks. PDF文字水印去除

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages