Skip to content

Commit

Permalink
Set minimum photo quality to 30
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Nov 2, 2017
1 parent 829b82e commit 13a2a9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private Uri writeToFile(Bitmap bitmap) throws IOException {
int quality;

do {
for(quality=90; quality>=50; quality-=10) {
for(quality=90; quality>=30; quality-=10) {
trace(this, "writeToFile() :: Attempting to write bitmap=%s (%sx%s) to file=%s at quality=%s; size of last write=%s...",
bitmap, bitmap.getWidth(), bitmap.getHeight(), temp, quality, tempFileSize);

Expand Down

0 comments on commit 13a2a9c

Please sign in to comment.