Updated image compression parameters.

This commit is contained in:
Greyson Parrelli
2021-02-08 15:39:04 -05:00
committed by Cody Henthorne
parent 3bdf2e7e2c
commit 236e1ba885
7 changed files with 227 additions and 32 deletions

View File

@@ -21,6 +21,11 @@ public class ProfileMediaConstraints extends MediaConstraints {
return 5 * 1024 * 1024;
}
@Override
public int[] getImageDimensionTargets(Context context) {
return new int[] { getImageMaxWidth(context) };
}
@Override
public int getGifMaxSize(Context context) {
return 0;