postyou/contao-pdf-metadata
最新稳定版本:2.0.1
Composer 安装命令:
composer require postyou/contao-pdf-metadata
包简介
Extends the contao file manager to clean up the metadata of PDF files for privacy reasons
关键字:
README 文档
README
Extends the contao file manager to clean up the metadata of PDF files for privacy reasons.
The following two commands are executed in the prozess:
$ exiftool -all= -Author='' -tagsfromfile @ -title -keywords -subject -description file.pdf -o intermediate.pdf $ qpdf --linearize intermediate.pdf file.pdf
Requirements
Configuration
# config/config.yaml contao_pdf_metadata: exiftool: # Path to the exiftool binary. path: /usr/bin/exiftool # Environment variables when running exiftool. env: # Prototype name: ~ qpdf: # Path to the qpdf binary. path: /usr/bin/qpdf # Environment variables when running qpdf. env: # Prototype name: ~ # Clean up the metadata of PDF files immediately after uploading. cleanup_on_upload: false # Overwrites metadata fields in the cleaned PDF file. metadata: author: ''
Console Command
To clean up the metadata of PDF files in the files/ directory, you can use the following command:
$ vendor/bin/contao-console pdf-metadata:clean [<path>]
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2023-01-04