GNU General Public License v3.0

项目介绍

hwding/pdf-unstamper 是一个托管在 GitHub 上的开源项目,主要使用 Java 编写,采用 GNU General Public License v3.0 许可证,目前获得 393 个 Star、75 次 Fork。

仓库全名
hwding/pdf-unstamper
开源许可证
GNU General Public License v3.0
Star 数
393
Fork 数
75
未关闭 Issue
9

README 摘要

pdf-unstamper Remove textual watermark of any font, any encoding and any language with pdf-unstamper now! Star History Disclaimer This software(pdf-unstamper.jar) is ONLY for technical exchange and CANNOT be held responsible for any consequences caused by pdf modification. Effect Before After Manual Run the tool without argument will show the following. Get it now As a command Install (or update to) the latest…

完整内容见 GitHub 原始 README 或本页 。

常见问题

pdf-unstamper 用什么语言开发?

主要使用 Java 编写,采用 GNU General Public License v3.0 许可证,目前有 393 个 Star。

pdf-unstamper 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 pdf-unstamper 的源码?

可以直接克隆仓库:git clone https://github.com/hwding/pdf-unstamper.git,默认分支为 master;安装与运行步骤见仓库 README。

pdf-unstamper 最近还在维护吗?

仓库最近一次更新为 7月13日,当前有 9 个未关闭 Issue;Star 数为 393,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Remove textual watermark of any font, any encoding and any language with pdf-unstamper now!

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
553
价值分
258
活跃状态
活跃

语言占比

Java
Shell

Release

README

pdf-unstamper


Remove textual watermark of any font, any encoding and any language with pdf-unstamper now!

Star History

Star History Chart

Disclaimer

This software(pdf-unstamper.jar) is ONLY for technical exchange and CANNOT be held responsible for any consequences caused by pdf modification.

Effect

Before After

Manual

Run the tool without argument will show the following.

Usage:
   [OPTION] -i [INPUT PDF] -k [KEYWORDS...] (-o [OUTPUT PDF])
   [OPTION] -I [INPUT DIR] -k [KEYWORDS...] (-O [OUTPUT DIR])

Options:
   -d,  --direct            directly modify the input file(s), option o/O is
                            unnecessary when this option is on
   -r,  --recursive         process files in the given dir recursively
   -s,  --strict            use strict mode, a text area is considered as watermark
                            only if its content strictly equals one of the keywords
   -c,  --clear             clear all annotations in pages which contains the target
                            textual watermark(s), if you encounter bordered frame issues,
                            enable this switch

Get it now

As a command

Install (or update to) the latest version as command unstamp in ~/bin/ and soft-linked as /usr/local/bin/unstamp for convenience.

Install

Make sure you have wget installed.

➜ sudo bash -c "$(curl -s https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install)"

# If using a proxy
➜ sudo proxychains bash -c "$(curl -s https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install)"

# Script options
#
# -d [DIR]  install binary into a specified directory
# -w        install without creating a soft-link to /usr/local/bin/

# If install with options, download the script first
➜ wget https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install

# Then execute with or without proxy
➜ sudo bash install -d ~/my-bins/
➜ sudo bash install -w
➜ sudo bash install -d ~/my-bins/ -w
➜ sudo proxychains bash install -d ~/my-bins/
➜ sudo proxychains bash install -w
➜ sudo proxychains bash install -d ~/my-bins/ -w
Run
# For single file processing
➜ unstamp -i "C Recipes.pdf" -o "C Recipes.unstamped.pdf" -k www.allitebooks.com -s -c
➜ unstamp -i RoR.pdf -o RoR.unstamped.pdf -k 图灵社区会员
# Or
➜ unstamp -i "C Recipes.pdf" -d -k www.allitebooks.com -s -c
➜ unstamp -i RoR.pdf -d -k 图灵社区会员
 
# For massive files processing
➜ unstamp -I pdfs/ -O unstampedPdfs/ -r -k 图灵社区会员 www.allitebooks.com -c
# Or
➜ unstamp -I pdfs/ -d -r -k 图灵社区会员 www.allitebooks.com -c

As a JAR

Download

Get pdf-unstamper.jar.

Run
# For single file processing
➜ java -jar pdf-unstamper.jar -i "C Recipes.pdf" -o "C Recipes.unstamped.pdf" -k www.allitebooks.com -s -c
➜ java -jar pdf-unstamper.jar -i RoR.pdf -o RoR.unstamped.pdf -k 图灵社区会员
# Or
➜ java -jar pdf-unstamper.jar -i "C Recipes.pdf" -d -k www.allitebooks.com -s -c
➜ java -jar pdf-unstamper.jar -i RoR.pdf -d -k 图灵社区会员
 
# For massive files processing
➜ java -jar pdf-unstamper.jar -I pdfs/ -O unstampedPdfs/ -r -k 图灵社区会员 www.allitebooks.com -c
# Or
➜ java -jar pdf-unstamper.jar -I pdfs/ -d -r -k 图灵社区会员 www.allitebooks.com -c

评论

暂无评论