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

filetype of Image Captcha can be specified #2

Closed
wants to merge 2 commits into from

Conversation

silencewwt
Copy link
Contributor

Although JPEG compression is a loss compression and PNG is non-lossy, the loss of image captcha quality is bearable. The size of JPEG image captcha after default compression by PIL can be much more smaller than PNG. So I suppose add a parameter 'format' which equals to 'jpeg' by default in the function generate & write of class _Captcha can be better. (If someone still want to use PNG or other filetypes……)

@landscape-bot
Copy link

Code Health
Repository health decreased by 3% when pulling 34d3306 on Silence-WWT:master into b11f6db on lepture:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.69%) to 95.61% when pulling 34d3306 on Silence-WWT:master into b11f6db on lepture:master.

@landscape-bot
Copy link

Code Health
Repository health decreased by 3% when pulling b1030ca on Silence-WWT:master into b11f6db on lepture:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.3% when pulling b1030ca on Silence-WWT:master into b11f6db on lepture:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.3% when pulling b1030ca on Silence-WWT:master into b11f6db on lepture:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.3% when pulling b1030ca on Silence-WWT:master into b11f6db on lepture:master.

@silencewwt
Copy link
Contributor Author

I've already used png as default value. Is it time to merge my pull request? Thank you~

@lepture
Copy link
Owner

lepture commented Apr 27, 2015

@Silence-WWT Hi, it is merged into 4e8d6c7

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.

4 participants