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

feat: Allow sending pictures up to 2560px #222

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2500,7 +2500,7 @@ public static int getMinTabletSide() {

public static int getPhotoSize() {
if (photoSize == null) {
photoSize = 1280;
photoSize = 2560;
}
return photoSize;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

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;
Expand Down