https://github.com/miyako/4d-plugin-pdf-metadata
Read and write PDF metadata with PDFio
https://github.com/miyako/4d-plugin-pdf-metadata
4d-plugin pdf
Last synced: 12 months ago
JSON representation
Read and write PDF metadata with PDFio
- Host: GitHub
- URL: https://github.com/miyako/4d-plugin-pdf-metadata
- Owner: miyako
- License: mit
- Created: 2023-05-14T16:57:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-15T06:27:12.000Z (about 3 years ago)
- Last Synced: 2025-02-26T04:16:32.972Z (over 1 year ago)
- Topics: 4d-plugin, pdf
- Language: C
- Homepage:
- Size: 8.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](LICENSE)

# 4d-plugin-pdf-metadata
Read and write PDF metadata with [PDFio](https://github.com/michaelrsweet/pdfio)
## Modifications
- [x] Support Unicode file paths on Windows https://github.com/michaelrsweet/pdfio/issues/18
## Note
This library does not seem to support file modification; either read an existing PDF or create a new one.
## Example
```4d
$path:=Get 4D folder(Current resources folder)+"test.pdf"
$status:=PDFio Get metadata($path)
```
```json
{
"success": true,
"meta": {
"version": "1.4",
"permission": {
"print": true,
"modify": true,
"copy": true,
"annotate": true,
"forms": true,
"reading": true,
"assemble": true,
"printHigh": true
},
"encryption": "NONE",
"pageCount": 1,
"name": "/Users/miyako/Documents/GitHub/4d-plugin-pdf-metadata/pdfio/test/Resources/test.pdf",
"creationDate": "1970-01-01T00:00:00Z"
}
}
```