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

Handle space after header #22

Open
andybalholm opened this issue Jan 4, 2022 · 0 comments
Open

Handle space after header #22

andybalholm opened this issue Jan 4, 2022 · 0 comments

Comments

@andybalholm
Copy link

PDF Files produced by libtiff/tiff2pdf have an extra space after the file header. (In other words, the header is "%PDF-1.1 \n" instead of "%PDF-1.1\n". They work in most PDF viewers, but this package rejects them with the error "not a PDF file: invalid header". Would it be a good idea to relax the header check and allow the extra space?

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

No branches or pull requests

1 participant