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

Add PDF support to detectFileType #665

Merged

Conversation

max-peroch
Copy link

@max-peroch max-peroch commented Mar 26, 2024

Fixes #666

Hello, it seems that FileTypeDetector.detectFileType was not able to detect PDF files, was there any reason to that?

This PR adds PDF to the list of files that can be detected.

I hope that's ok! This could be released as a patch version if that works for you.

Thank you,

Copy link
Owner

@drewnoakes drewnoakes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@drewnoakes drewnoakes merged commit 9f4ad4c into drewnoakes:main Apr 2, 2024
5 checks passed
@max-peroch max-peroch deleted the add-pdf-support-to-detectFileType branch April 2, 2024 15:14
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

Successfully merging this pull request may close these issues.

PDF support for detectFileType
2 participants