-
Notifications
You must be signed in to change notification settings - Fork 94
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
File size increase #15
Comments
To save the resulting image it has to be completely re-encoded, so both size changes and a slight drop in image quality can be expected. The relevant code line for saving anonymization results to new images is here: Line 183 in f668068
For decreasing the output file sizes, I would try lowering the Can you change the line referenced above to something like
and report if it works? We can also make this configurable through a command line flag similar to the |
Sorry, I see I forgot to reply. |
@mdraw maybe a option to run the images through https://github.com/tjko/jpegoptim or http://optipng.sourceforge.net/ would be great. |
I've been experimenting with this tool, it works amazing. I'm testing deface to run on jpg images downloaded from a webcam.
I noticed quite a file size increase on these jpg's:
Original: 435kb
Deface: 610kb - without any faces in the picture
Although it doesn't look like much, I'm planning on using this on quite a scale, which makes the total increased data storage quite large and I would like to avoid that where possible.
Any ideas what might increase the file size, even without faces on them?
The text was updated successfully, but these errors were encountered: