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

Using user-supplied file extension and/or mime type #949

Open
tezlm opened this issue Feb 5, 2025 · 1 comment
Open

Using user-supplied file extension and/or mime type #949

tezlm opened this issue Feb 5, 2025 · 1 comment

Comments

@tezlm
Copy link

tezlm commented Feb 5, 2025

Usually, I don't have a completely opaque array of bytes I need to analyze. I have some kind of user-supplied filename or extension. It would be nice if magika could make use of them, especially for lower confidence results.

@reyammer
Copy link
Collaborator

reyammer commented Feb 5, 2025

Just to make sure I understand: you would be interested in having some sort of API to map well-known filenames/extensions to one of the known content types?

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

2 participants