Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to keep XMP stream without filter #112

Open
galaxy001 opened this issue Mar 21, 2019 · 2 comments
Open

option to keep XMP stream without filter #112

galaxy001 opened this issue Mar 21, 2019 · 2 comments

Comments

@galaxy001
Copy link

There is a Perl script exiftool, which can read the meta information of different files including PDF.
However, it does not support FlateDecode Predictor 2 now.

Since there is only one XMP meta for a pdf file, it is acceptable to keep it less compressed.

I hope there are option to skip XMP stream. Or use a filter that exiftool can read.

@pts
Copy link
Owner

pts commented Mar 21, 2019

Thank you for suggesting this workaround feature! This should be easy to implement. Please attach a small example PDF with XMP matadata to the issue.

Please note that this is a limitation of exiftool, because exiftool is not able to read a valid PDF. Please report this bug to the exiftool authors.

@pts pts changed the title Request option to keep XMP stream without filter. option to keep XMP stream without filter Mar 21, 2019
@galaxy001
Copy link
Author

We can use this file:
exorr.pdf

XMP Toolkit                     : Adobe XMP Core 5.6-c015 84.159810, 2016/09/10-02:41:30
Metadata Date                   : 2019:03:21 15:09:42+08:00
Creator Tool                    : PScript5.dll Version 5.2
Format                          : application/pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants