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

Avoid image bombs by having a pixel count limit #614

Merged
merged 1 commit into from
Nov 19, 2015
Merged

Conversation

gi11es
Copy link
Contributor

@gi11es gi11es commented Nov 19, 2015

This leverages PIL's built-in detection of gigantic files. The same would
have to be done for other engines.

Setting the default to 75MP, which is a sane production value
according to our experience on Wikimedia Commons.

Fixes #604

This leverages PIL's built-in detection of gigantic files. The same would
have to be done for other engines.

Setting the default to 75MP, which is a sane production value
according to our experience on Wikimedia Commons.

Fixes thumbor#604
@masom
Copy link
Contributor

masom commented Nov 19, 2015

Great! Good to merge?

@gi11es
Copy link
Contributor Author

gi11es commented Nov 19, 2015

Yes

masom added a commit that referenced this pull request Nov 19, 2015
Avoid image bombs by having a pixel count limit
@masom masom merged commit 054a9bc into thumbor:master Nov 19, 2015
christianjgreen pushed a commit to fanhero/thumbor that referenced this pull request Aug 29, 2017
Avoid image bombs by having a pixel count limit
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.

None yet

2 participants