kduma/pdf-scan-splitter-tool
最新稳定版本:v0.5.0
Composer 安装命令:
composer create-project kduma/pdf-scan-splitter-tool
包简介
Scanned PDF files splitter and sorter based on barcode
README 文档
README
Scanned PDF files splitter and sorter based on barcode
Check full documentation on: https://opensource.duma.sh/apps/pdf-scan-splitter
pss tool
This tool reads every PDF provided as an argument, splits every page into separate PDF and looks for a Code-128 barcode on each page.
If a barcode is found, the page is saved into a file named after the barcode into the output directory.
If no barcode is found, the page is saved into a file named UNKNOWN.pdf.
If there are multiple barcodes on a page, the page is saved into a file named after first barcode.
If there is multiple pages with the same barcode, the pages are saved into a file with a number suffix for duplicates.
WARNING: Files already existing in the output directory will be overwritten!
./pss process <output_dir> <pdf> [<pdf>...] <--dpi=200>
composer setup
composer global require kduma/pdf-scan-splitter-tool
Tool will be available globally as pss command.
Requirements
This tool is based on poppler-utils and zbar-tools packages.
Those packages are run in a docker container, so you don't need to install them on your system, but you need to have docker installed.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-29