Increase default photo size to 2560px

This commit is contained in:
Marko Gobin 2023-11-04 22:59:46 +01:00
parent c319639e9a
commit 11b82ec9de
2 changed files with 2 additions and 2 deletions

View file

@ -2477,7 +2477,7 @@ public class AndroidUtilities {
public static int getPhotoSize() {
if (photoSize == null) {
photoSize = 1280;
photoSize = 2560;
}
return photoSize;
}

View file

@ -42,7 +42,7 @@ import java.util.ArrayList;
public class CropView extends FrameLayout implements CropAreaView.AreaViewListener, CropGestureDetector.CropGestureListener {
private static final float EPSILON = 0.00001f;
private static final int RESULT_SIDE = 1280;
private static final int RESULT_SIDE = 2560;
private static final float MAX_SCALE = 30.0f;
public CropAreaView areaView;