File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # PDF限制移除工具
2+
3+ 一款Windows桌面工具,用于移除PDF文件的权限限制,如打印、复制、编辑等限制。
4+
5+ ## 功能
6+
7+ - 检测PDF文件的加密状态和权限限制
8+ - 移除PDF文件的权限限制(打印、复制、编辑、注释等)
9+ - 支持批量处理多个文件
10+ - 支持文件拖拽到列表框
11+ - 支持带密码的加密PDF文件
12+ - 绿色单文件exe,无需安装
13+
14+ ## 使用方法
15+
16+ ### 直接运行exe
17+
18+ 从 [ Releases] ( https://github.com/asmartpig2020/RemovePDFRestrictions/releases ) 页面下载最新版本的exe文件,双击运行即可。
19+
20+ ### 从源码运行
21+
22+ ``` bash
23+ pip install -r requirements.txt
24+ python main.py
25+ ```
26+
27+ ### 打包exe
28+
29+ ``` bash
30+ pyinstaller --onefile --windowed --name " PDF限制移除工具" main.py
31+ ```
32+
33+ ## 操作步骤
34+
35+ 1 . 通过以下方式添加PDF文件:
36+ - 点击「选择PDF文件」按钮
37+ - 点击「选择文件夹」按钮批量添加
38+ - 直接将PDF文件或文件夹拖拽到列表框
39+ 2 . 如果PDF有用户密码,在密码框中输入
40+ 3 . 点击「检测限制」查看权限状态
41+ 4 . 点击「移除限制并保存」选择保存位置
42+
43+ ## 技术栈
44+
45+ - Python
46+ - pikepdf(基于QPDF引擎)
47+ - tkinter + tkinterdnd2
48+ - PyInstaller(打包)
49+
50+ ## 许可证
51+
52+ MIT License
You can’t perform that action at this time.
0 commit comments