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

Limit file extensions #2

Open
crazykid199 opened this issue Jul 8, 2017 · 2 comments
Open

Limit file extensions #2

crazykid199 opened this issue Jul 8, 2017 · 2 comments

Comments

@crazykid199
Copy link

Hello. I don't understand why do you use:

extenstions = ['jpg', 'png']

What about JPG, PNG and other extensions?

@roothaxor
Copy link
Owner

pardon for late reply, i have not tested other extensions ( python PIL image lib dont support every ext ),
jpg, png are used more than any other, add JPG, PNG in the list. and also PIL image lib dont support raw images from DSLR's

@Znunu
Copy link

Znunu commented Jan 9, 2021

I've created a PR that adds support for JPG & PNG extensions

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